Answers for "how to take the max of two column in pandas"

1

max of two columns pandas

df["C"] = df[["A", "B"]].max(axis=1)
Posted by: Guest on November-12-2020
1

Display max number of columns pandas

pd.options.display.max_columns = 999
pd.options.display.max_rows = 999
Posted by: Guest on December-02-2020

Code answers related to "how to take the max of two column in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language