usse/funda-scraper/venv/lib/python3.10/site-packages/pandas/tests/apply/common.py

11 lines
388 B
Python
Raw Normal View History

2023-02-20 22:38:24 +00: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"]
]