Rolling operations are useful for smoothing noisy data. Rolling statistics are another time series specific operation where data is evaluated over a sliding window. The bottom panel shows the tshift(900) operation, which shifts the index by 900 days, changing the start and end date ranges as shown. This is represented by the fact that there is no line on the plot for first 900 days. The middle panel shows the shift(900) operation which shifts the data by 900 days, leaving NA values at early indices. The top panel in the plot shows ge data with a red line showing a local date. set(weight= 'heavy', color= 'red')Īx.axvline(local_max, alpha= 0.3, color= 'red')Īx.axvline(local_max + offset, alpha= 0.3, color= 'red')Īx.axvline(local_max + offset, alpha= 0.3, color= 'red')
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |