79198974

Date: 2024-11-18 07:11:29
Score: 1
Natty:
Report link

The following is a bit easier to read from my point of view:

df["New_date"] = df["Date"] - pd.offsets.MonthBegin()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: omg_me