pandas set a value in colmns as the maximum value

#for multiple columns 
min_vals = df[["A","B","C"]].min() #can add how much ever columns
max_vals = df[["D","E","F"]].max() #can add how much ever columns

#for single column
min_val = df["Column"].min() 
max_val = df["Column"].max() 

#to refer to all columns
min_val = df[:].min() 
max_val = df[:].max() 

Here is what the above code is Doing:
1. We’re using the .min() method to find the minimum value in each column.
2. We’re using the .max() method to find the maximum value in each column.
3. We’re using the .min() method to find the minimum value in a single column.
4. We’re using the .max() method to find the maximum value in a single column.
5. We’re using the .min() method to find the minimum value in all columns.
6. We’re using the .max() method to find the maximum value in all columns.