79285004

Date: 2024-12-16 14:34:26
Score: 1
Natty:
Report link

Had a problem with .groupby().mean() too, which was that Numeric is False by default try this

result = df.groupby("Make").mean(numeric_only= True)
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Fred