79828221

Date: 2025-11-24 02:09:42
Score: 1
Natty:
Report link

You don’t need to pad the series manually.

To get 3-month means aligned to January 1, use the quarterly start frequency with January as the anchor: `QS-JAN`. This will automatically create quarters starting in Jan, Apr, Jul, and Oct. For example:

r = s.resample("QS-JAN").mean()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mauricio Reisdoefer