python pandas get min and max of column code example
Example 1: max of two columns pandas
df["C"] = df[["A", "B"]].max(axis=1)
Example 2: get maximum calue df column
max_value = column.max()
df["C"] = df[["A", "B"]].max(axis=1)
max_value = column.max()