when you run the code for slicing the time series datayou can observe the following graph as shown in the image hereextracting statistic from time series data you will have to extract some statistics from given datain cases where you need to draw some important conclusion meanvariancecorrelationmaximum valueand minimum value are some of such statistics you can use the following code if you want to extract such statistics from given time series datamean you can use the mean(functionfor finding the meanas shown heretimeseries mean(then the output that you will observe for the example discussed is- maximum you can use the max(functionfor finding maximumas shown heretimeseries max(then the output that you will observe for the example discussed is