(self, constructor, window, dtype, percentile, ascending, method)
| 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 | |
| 262 | class PeakMemFixedWindowMinMax: |