Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Time Series Analysis with Python Cookbook
  • Table Of Contents Toc
Time Series Analysis with Python Cookbook

Time Series Analysis with Python Cookbook - Second Edition

By : Tarek A. Atwan
close
close
Time Series Analysis with Python Cookbook

Time Series Analysis with Python Cookbook

By: Tarek A. Atwan

Overview of this book

To use time series data to your advantage, you need to master data preparation, analysis, and forecasting. This fully refreshed second edition helps you unlock insights from time series data with new chapters on probabilistic models, signal processing techniques, and new content on transformers. You’ll work with the latest releases of popular libraries like Pandas, Polars, Sktime, stats models, stats forecast, Darts, and Prophet through up-to-date examples. You'll hit the ground running by ingesting time series data from various sources and formats and learn strategies for handling missing data, dealing with time zones and custom business days, and detecting anomalies using intuitive statistical methods. Through detailed instructions, you'll explore forecasting using classical statistical models such as Holt-Winters, SARIMA, and VAR, and learn practical techniques for handling non-stationary data using power transforms, ACF and PACF plots, and decomposing time series data with seasonal patterns. The recipes then level up to cover more advanced topics such as building ML and DL models using TensorFlow and PyTorch and applying probabilistic modeling techniques. In this part, you’ll also be able to evaluate, compare, and optimize models, finishing with a strong command of wrangling data with Python.
Table of Contents (18 chapters)
close
close
16
Other Books You May Enjoy
17
Index

Advanced Techniques for Complex Time Series

As time series data becomes more complex, you will encounter multiple, overlapping seasonal patterns. For example, electricity consumption recorded hourly: over 24 months, you will spot annual patterns (such as spikes in the summer for cooling), weekly patterns (higher usage on weekdays compared to weekends), and daily cycles (with peaks in the evenings). These patterns don’t exist in isolation; they are blended within the data.

With the rise of connected devices such as IoT sensors, we now collect data at much higher frequencies: hourly, every minute, or every second. This is a shift from classical time series research, where datasets were smaller and recorded less frequently, usually annually or monthly.

Many traditional statistical models, like Seasonal Autoregressive Integrated Moving Average (SARIMA), were built for scenarios with a single dominant seasonal pattern. They are great for straightforward cases, but often...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Time Series Analysis with Python Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon