python pandas max code example
Example 1: find min and max from dataframe column
max_value = column.max()
Example 2: max of two columns pandas
df["C"] = df[["A", "B"]].max(axis=1)
Example 3: find max in a dataframe
max_value = df.to_numpy().max()