Find the average of last 25% from the input range in pandas
Find the average of last 25% from the input range in pandas Question: I have successfully imported temperature CSV file to Python Pandas DataFrame. I have also found the mean value of specific range: df.loc[7623:23235, ‘Temperature’].mean() where ‘Temperature’ is Column title in DataFrame. I would like to know if it is possible to change this …