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.
Combine multiple time series datasets - Python Tutorial
From the course: Practical Python for Time Series Analysis
Combine multiple time series datasets
- [Instructor] Join and preprocess multiple time series data. Starting from individual files from the Federal Reserve, you will learn how to load multiple indicators so that you can combine them in a single data frame to visualize the historical evolution of each one of them and compare throughout the years as we see in this interactive Plotly chart, however many problems will arise. The first one is that we are loading the data files individually, and not all of them follow the same frequency. For example, the CPI inflation, the first table is on a monthly basis. However, the mortgage rate, it's on a weekly basis. By the time that you combine them, you will see missing data that needs to be handled through other techniques. So we differentiate between the inner join versus the outer join. However, we are missing variation in the small data inside each one of the months because the data with lower granularity is weekly.…
Contents
-
-
-
(Locked)
Combine multiple time series datasets2m 34s
-
(Locked)
Download and load FRED data4m 54s
-
(Locked)
Concatenate time series with pandas.concat()4m 37s
-
(Locked)
Inner join vs. outer join1m 49s
-
(Locked)
Fill missing data with linear interpolation2m 13s
-
(Locked)
Automate loading with for loops3m 34s
-
(Locked)
Rename columns and export data4m 39s
-
(Locked)
-
-
-
-
-
-
-
-
-
-