79510794

Date: 2025-03-15 08:07:11
Score: 2
Natty:
Report link

A simple one liner would work

s.groupby(pd.Grouper(freq='4ME')).idxmax()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hrithik Jyani