I have a dataframe like this:
data.head(10) date id cat_id value 0 2020-11-01 25226 32000101 124 1 2020-11-01 25226 32000101 142 2 2