finding all the maximum values of a dataframe pandas code example Example: find max in a dataframe max_value = df.to_numpy().max()