I have a data frame with a category column.
category
For each class within the category column, I would like a repeating sequence from 1 to n
n