I have a column of values like below:
col
12
76
34
for which I need to generate a new column with the bucket labels for col1
as mentioned below:
col1 bucket-labels
12 8-16
76 64-128
34 32-64
Here the values in the column might vary and the number of results also.
Edit: The intervals of the bucket label should be in the range of 2^n