Grouping of dataframe with sorting

Asked

Viewed 37 times

1

I’m having a hard time, and I don’t know how else to move on. I have a Dataframe where I am doing a grouping for some columns and in the Aggregate of it I take one of these columns and use the size to make a Count, but I would like to display this list with decreasing ordering. Someone could give me a light?

boarded_vl.groupby(['day_of_week', 'boarded_at']).aggregate({'boarded_at' : np.size})
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.