I have a dataset that has a variable named 'EntrySec' and I want to replace the values if it falls in a certain range.
Entrysec
1
21
32
9
43
66
Expectation: replace all values by
10 if it falls in the range between 1-10
20 if it falls in the range of 11-20
30 if it falls in the range of 21-30 and so on