max of a column pandas dataframe 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)