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

Method time_rank

asv_bench/benchmarks/rolling.py:258–259  ·  view source on GitHub ↗
(self, constructor, window, dtype, percentile, ascending, method)

Source from the content-addressed store, hash-verified

256 self.roll = getattr(pd, constructor)(arr).rolling(window)
257
258 def time_rank(self, constructor, window, dtype, percentile, ascending, method):
259 self.roll.rank(pct=percentile, ascending=ascending, method=method)
260
261
262class PeakMemFixedWindowMinMax:

Callers

nothing calls this directly

Calls 1

rankMethod · 0.45

Tested by

no test coverage detected