get 5 maximum values from dataframe code example
Example 1: get max value column pandas
max_value_column = df["column_name"].max()
Example 2: find max in a dataframe
max_value = df.to_numpy().max()
max_value_column = df["column_name"].max()
max_value = df.to_numpy().max()