From the course: Practical Python for Time Series Analysis

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Aggregate historical time series data

Aggregate historical time series data - Python Tutorial

From the course: Practical Python for Time Series Analysis

Aggregate historical time series data

- [Instructor] Temporal resampling. This time, we'll work with a historical dataset, but we don't need to create temporal columns as we did in the previous chapters. This time, we can aggregate the information using the Resample function directly to aggregate the information for each one of 5 years, 10 years, 1 year, months, and visualize the information in a more minimal way. Also, with the heat metrics and with Plotly, where we can visualize interactively how the most significant values appear based on the color scale that we see on the right. Additionally, I'll show you how to interpret the information by saving the image into a file, passing it to the chat so that we can analyze the most significant values and get some information on what happened in the '80s, for example, where there was a recession. And here we get the economic sequence. Now, without further ado, let's get started with the Python codes on…

Contents