common.py 298 B

1234567
  1. from pandas.core.groupby.base import transformation_kernels
  2. # There is no Series.cumcount or DataFrame.cumcount
  3. series_transform_kernels = [
  4. x for x in sorted(transformation_kernels) if x != "cumcount"
  5. ]
  6. frame_transform_kernels = [x for x in sorted(transformation_kernels) if x != "cumcount"]