Backport PR #46065 on branch 1.4.x (BUG: groupby().rolling(freq) with monotonic dates within groups)
Backport PR #46065: BUG: groupby().rolling(freq) with monotonic dates within groups
Still open discussion on the fix. Closing