381-3 Exploring Data with pandas: Fundamentals Screen 3

rank_change = f500[“previous_rank”] - f500[“rank”]
rank_change_max=rank_change.max()
rank_change_min=rank_change.min()

In above code it shows the result of rankchange max and min .
what if i want to find the row associated with it like what if I want to find the company name with max rank change and with min rank change?

1 Like