Unless I am missing something obvious, we can do this: `df.groupby('x').cumcount()` but not: `df.cumcount()` Obviously, there are workarounds, but seems like we should be able to do on a dataframe/series if we can do on a groupby object?