1df = {'a': 3, 'b':4, 'c':5}
2df.max() #max() gives you the maximum value in the series.
3#Output
45
5
6df.idxmax() #idx() gives you the index of the maximum values.
7#Output
8c
9
10#NB: The same applies to min() and idxmin().
11
12
1#for multiple columns
2min_vals = df[["A","B","C"]].min() #can add how much ever columns
3max_vals = df[["D","E","F"]].max() #can add how much ever columns
4
5#for single column
6min_val = df["Column"].min()
7max_val = df["Column"].max()
8
9#to refer to all columns
10min_val = df[:].min()
11max_val = df[:].max()