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

Technical requirements

You can download the Jupyter notebooks and the requisite datasets from the GitHub repository to follow along:

In this chapter and beyond, you will extensively use pandas 2.1.3 (released November 10, 2023). There will be four additional libraries that you will be using:

  • numpy (1.26.0)
  • matplotlob (3.8.1)
  • statsmodels (0.14.0)
  • scikit-learn (1.3.2)
  • SciPy (1.11.3)

If you are using pip, then you can install these packages from your terminal with the following command:

pip install matplotlib numpy statsmodels scikit-learn scipy

If you are using conda, then you can install these packages with the following command:

conda install matplotlib numpy statsmodels scikit-learn scipy

In this chapter, two datasets will be used extensively...

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