79591716

Date: 2025-04-25 02:38:02
Score: 1
Natty:
Report link

I tried one way and wondered if there was another way...

da.assign_coords(year = da.time.dt.year, monthday = da.time.dt.strftime("%m-%d")).groupby(['year', 'monthday']).mean('time')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Breeze