0

I need to add a column, that do what's here in the example.

example:

data
1
2
4
6
8
9
7
5
3
2

and I need a column like this one

data  new_col
1 1
2 1
4 1
6 1
8 2
9 2
7 2
5 2
3 3
2 3
...

and so on.

How can I do this?

Habi
  • 45
  • 6

0 Answers0