cudf.core.groupby.groupby.GroupBy.cumcount#

GroupBy.cumcount(ascending: bool = True)[source]#

Return the cumulative count of keys in each group.

Parameters:
ascendingbool, default True

If False, number in reverse, from length of group - 1 to 0. Currently not supported