common.py 388 B

12345678910
  1. from pandas.core.groupby.base import transformation_kernels
  2. # tshift only works on time index and is deprecated
  3. # There is no Series.cumcount or DataFrame.cumcount
  4. series_transform_kernels = [
  5. x for x in sorted(transformation_kernels) if x not in ["tshift", "cumcount"]
  6. ]
  7. frame_transform_kernels = [
  8. x for x in sorted(transformation_kernels) if x not in ["tshift", "cumcount"]
  9. ]