MCPcopy Create free account
hub / github.com/dask/dask / shift

Method shift

dask/dataframe/dask_expr/_collection.py:4798–4799  ·  view source on GitHub ↗
(self, periods=1, freq=None)

Source from the content-addressed store, hash-verified

4796 return new_collection(MemoryUsageIndex(self, deep=deep))
4797
4798 def shift(self, periods=1, freq=None):
4799 return new_collection(expr.ShiftIndex(self, periods, freq))
4800
4801 @derived_from(pd.Index)
4802 def map(self, arg, na_action=None, meta=None, is_monotonic=False):

Callers 1

autocorrMethod · 0.45

Calls 1

new_collectionFunction · 0.90

Tested by

no test coverage detected