to get max value of dataframe column 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)
max_value = column.max()
df["C"] = df[["A", "B"]].max(axis=1)