79836069

Date: 2025-12-02 16:01:16
Score: 1.5
Natty:
Report link
df['color'] = (
    df['color']
    .fillna(
        df.groupby('toy')['color']
          .transform(lambda x: x.mode()[0])
    )
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Nashaat