79771283

Date: 2025-09-22 06:14:28
Score: 1
Natty:
Report link

Given that you only have two columns, something like

df.group_by("Letter").all()

would also give you the desired result. If you have more columns, all() would turn everything except for the group_by column into series of lists.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gavin Hua