Reputation: 462
What is the most efficient way of group or stack the different values of dataframe indexing by value?
this df:
color alert
blue A
blue B
red A
green C
to:
color alert
blue [A, B]
red A
green C
Upvotes: 0
Views: 40