Find row where values for column is maximal in a pandas DataFrame

How can I find the row for which the value of a specific column is maximal?

df.max() will give me the maximal value for each column, I don’t know how to get the corresponding row.

13 Answers
13

Leave a Comment