I have around 40,000 obs in my dataset and I wish to club 1-10 obs as code 1, 11-20 as code 2.. so on and so forth. Can anyone suggest a command for the same?