MCPcopy
hub / github.com/pandas-dev/pandas / time_apply

Method time_apply

asv_bench/benchmarks/rolling.py:373–376  ·  view source on GitHub ↗
(self, method)

Source from the content-addressed store, hash-verified

371 self.df = pd.DataFrame(np.random.randn(10, 1000))
372
373 def time_apply(self, method):
374 self.df.rolling(2, method=method).apply(
375 table_method_func, raw=True, engine="numba"
376 )
377
378 def time_ewm_mean(self, method):
379 self.df.ewm(1, method=method).mean(engine="numba")

Callers

nothing calls this directly

Calls 2

applyMethod · 0.45
rollingMethod · 0.45

Tested by

no test coverage detected