如果窗口边界不是单调的,DataFrame.rolling 会产生不正确的结果
作者: wence-创建于 2026年9月23日更新于 2026年9月29日
标签bugpythonacceptedP-highA-rolling
If using calendrical offsets in `rolling`, the window boundaries are not guaranteed to be monotone: that is, a row may re-enter a window having previously left it. In this case, the implementation must "refill" from old data.
内容来源: pola-rs/polars