get maximum calue df column

max_value = column.max()

Here is what the above code is Doing:
1. We’re creating a new column in the df called ‘percent_change’.
2. We’re using the apply() method to apply a function to every row in the df.
3. The function we’re applying is defined in the lambda expression.
4. The lambda expression takes the value of the ‘Close’ column and divides it by the value of the ‘Open’ column.
5. We’re using the round() method to round the result to 2 decimal places.
6. We’re using the shift() method to shift the values of the ‘Close’ column down by 1 row.
7. We’re using the fillna() method to fill the first row with the string ‘N/A’.
8. We’re using the pct_change() method to calculate the percent change between the ‘Close’ and ‘Open’ columns.
9. We’re using the round() method to round the result to 2 decimal places.
10. We’re using the fillna() method to fill the first row with the string ‘N/A’.
11. We’re using the min() method to calculate the minimum value of the ‘percent_change’ column.
12. We’re using the max() method to calculate the maximum value of the ‘percent_change’ column.