python dataframe min max code example
Example 1: get max value column pandas
max_value_column = df["column_name"].max()
Example 2: max of two columns pandas
df["C"] = df[["A", "B"]].max(axis=1)
max_value_column = df["column_name"].max()
df["C"] = df[["A", "B"]].max(axis=1)