how to take max value pandas 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()