Pandas DataFrame nlargest() Method - W3Schools
www.w3schools.com › python › pandasThe nlargest () method returns a specified number of rows, starting at the top after sorting the DataFrame by the highest value for a specified column. Syntax dataframe .nlargest ( n, columns, keep) Parameters The keep parameter is a keyword argument. Return Value A DataFrame with Boolean values. This method does not change the original DataFrame.