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