get second highest value pandas dataframe code example Example: how to take second largest value in pandas df['High'].nlargest(2)