ai-content-maker/.venv/Lib/site-packages/pandas/tests/apply/common.py

11 lines
388 B
Python
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
from pandas.core.groupby.base import transformation_kernels
# tshift only works on time index and is deprecated
# There is no Series.cumcount or DataFrame.cumcount
series_transform_kernels = [
x for x in sorted(transformation_kernels) if x not in ["tshift", "cumcount"]
]
frame_transform_kernels = [
x for x in sorted(transformation_kernels) if x not in ["tshift", "cumcount"]
]