From the course: Data Science Foundations: Data Mining in Python

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Decomposition

Solution: Decomposition - Python Tutorial

From the course: Data Science Foundations: Data Mining in Python

Start my 1-month free trial

Solution: Decomposition

(bright music) - [Instructor] Let's take a minute to do the Time-Series Decomposition Challenge together. And I'll show you the solution that I have, which is based on the presentation of decomposition we had earlier. I'm going to start by loading some common libraries, and then bringing in the data, EUStockMarkets.csv, and we'll take a look at the first few rows. So we have the CAC information, which is from France's stock market, and we have the month, and we can plot the entirety of the data. And so, what you see is a change over time. It's going up, it's going down, it's going up, it's going down, and then it goes way up, about doubles in value in a couple of years. So this does not show this same steady predictable trend and seasonality that we had with our Air Passengers data, but it is the kind of data that many people are intensely interested in looking at. So let's decompose it and see if we can find…

Contents