Refresh Your Home For Fall
Buy New
To see product details, add this item to your cart.
Ships from: Amazon
Sold by: TRIO ALLIANCE
To see product details, add this item to your cart. You can always remove it later.
Ships from
Amazon
Amazon
Ships from
Amazon
Returns
30-day refund / replacement
30-day refund / replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
To see product details, add this item to your cart. You can always remove it later.
Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... See less
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Time Series Analysis with Python Cookbook: Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Time Series Analysis with Python Cookbook: Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation

4.4 out of 5 stars (53)

Purchase options and add-ons

Perform time series analysis and forecasting confidently with this Python code bank and reference manual

Key Features

  • Explore forecasting and anomaly detection techniques using statistical, machine learning, and deep learning algorithms
  • Learn different techniques for evaluating, diagnosing, and optimizing your models
  • Work with a variety of complex data with trends, multiple seasonal patterns, and irregularities

Book Description

Time series data is everywhere, available at a high frequency and volume. It is complex and can contain noise, irregularities, and multiple patterns, making it crucial to be well-versed with the techniques covered in this book for data preparation, analysis, and forecasting.

This book covers practical techniques for working with time series data, starting with ingesting time series data from various sources and formats, whether in private cloud storage, relational databases, non-relational databases, or specialized time series databases such as InfluxDB. Next, you'll learn strategies for handling missing data, dealing with time zones and custom business days, and detecting anomalies using intuitive statistical methods, followed by more advanced unsupervised ML models. The book will also explore forecasting using classical statistical models such as Holt-Winters, SARIMA, and VAR. The recipes will present practical techniques for handling non-stationary data, using power transforms, ACF and PACF plots, and decomposing time series data with multiple seasonal patterns. Later, you'll work with ML and DL models using TensorFlow and PyTorch.

Finally, you'll learn how to evaluate, compare, optimize models, and more using the recipes covered in the book.

What you will learn

  • Understand what makes time series data different from other data
  • Apply various imputation and interpolation strategies for missing data
  • Implement different models for univariate and multivariate time series
  • Use different deep learning libraries such as TensorFlow, Keras, and PyTorch
  • Plot interactive time series visualizations using hvPlot
  • Explore state-space models and the unobserved components model (UCM)
  • Detect anomalies using statistical and machine learning methods
  • Forecast complex time series with multiple seasonal patterns

Who this book is for

This book is for data analysts, business analysts, data scientists, data engineers, or Python developers who want practical Python recipes for time series analysis and forecasting techniques. Fundamental knowledge of Python programming is required. Although having a basic math and statistics background will be beneficial, it is not necessary. Prior experience working with time series data to solve business problems will also help you to better utilize and apply the different recipes in this book.

Table of Contents

  1. Getting Started with Time Series Analysis
  2. Reading Time Series Data from Files
  3. Reading Time Series Data from Databases
  4. Persisting Time Series Data to Files
  5. Persisting Time Series Data to Databases
  6. Working with Date and Time in Python
  7. Handling Missing Data
  8. Outlier Detection Using Statistical Methods
  9. Exploratory Data Analysis and Diagnosis
  10. Building Univariate Time Series Models Using Statistical Methods
  11. Additional Statistical Modeling Techniques for Time Series
  12. Forecasting Using Supervised Machine Learning
  13. Deep Learning for Time Series Forecasting
  14. Outlier Detection Using Unsupervised Machine Learning
  15. Advanced Techniques for Complex Time Series

Frequently bought together

This item: Time Series Analysis with Python Cookbook: Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation
$38.14
Get it as soon as Saturday, Sep 19
Only 1 left in stock - order soon.
Sold by TRIO ALLIANCE and ships from Amazon Fulfillment.
+
$36.05
Get it as soon as Saturday, Sep 19
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the brand

Editorial Reviews

Review

"There are so many use cases when we need to deal with time series data – demand forecasting, predictive maintenance, and energy consumption, to name a few – and so every data scientist must be skilled in time series analysis.

Time series analysis is very difficult to master. That’s why I enjoyed Tarek A. Atwan’s book. I believe that by reading it, every data scientist will learn something new from the Python snippets dealing with time and date in Python (which is never as easy as it seems), running EDA, handling missing values, detecting outliers, and forecasting with statistical, machine learning, and deep learning models."

Adam Votava, Interim Chief Data and Analytics Officer at DataDiligence

"The book covers all the necessary details for time series data preparation, analysis, and forecasting, including how time series data is different from other data, how to ingest data from various sources and databases, how to deal with different time zones and custom business days, how to detect anomalies using statistical methods and visualizations, followed by developing advanced deep learning models for forecasting."

Overall, this is a great reference book for data science practitioners to get up to speed quickly on state-of-the-art time series data analysis and forecasting techniques!

Sadid Hasan, AI Lead at Microsoft

"I recommend reading this book to anyone at any level. The book has extensive chapters on how to read and write time series data using various technologies. This is a gap for most academically trained or MOOC-trained data analysts/ scientists. The book then describes statistical methodologies to handle time series forecasting. What I enjoyed is the pace at which the author gives enough background on a topic while also showing the reader how things are done practically. Later chapters describe the ML-based modeling of time series data.

I found this book to be a treasure trove of information on a set of very diverse approaches and topics. The more curious reader can later pick up a book on any of these chapters’ topics.

Highly recommended for newbies and veterans alike."

Shobeir Seddington, Principal Data Scientist at Gopuff & Harvard Business Review Advisor at Harvard Business Review

About the Author

Tarek A. Atwan is a data analytics expert with over 16 years of international consulting experience, providing subject matter expertise in data science, machine learning operations, data engineering, and business intelligence. He has taught multiple hands-on coding boot camps, courses, and workshops on various topics, including data science, data visualization, Python programming, time series forecasting, and blockchain at different universities in the United States. He is regarded as an industry mentor and advisor, working with executive leaders in various industries to solve complex problems using a data-driven approach.

Product details

  • Publisher ‏ : ‎ Packt Publishing
  • Publication date ‏ : ‎ June 30, 2022
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 630 pages
  • ISBN-10 ‏ : ‎ 1801075549
  • ISBN-13 ‏ : ‎ 978-1801075541
  • Item Weight ‏ : ‎ 2.35 pounds
  • Dimensions ‏ : ‎ 7.5 x 1.42 x 9.25 inches
  • Best Sellers Rank: #1,675,375 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.4 out of 5 stars (53)

About the author

Follow authors to get new release updates, plus improved recommendations.
Tarek Atwan
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Tarek A. Atwan is a seasoned analytics and technology leader with over 20 years of international experience in data science, machine learning, and data engineering. He is the author of the "Time Series Analysis with Python Cookbook" (Packt Publishing), now in its second edition and translated into Japanese.

As the founder of Ensemble Methods, Tarek bridges the gap between complex technical theory and practical, real-world implementation. His consulting work focuses on transforming organizations through AI strategy, MLOps, and modern data architecture. He has served as a strategic advisor to global entities, helping them navigate the rapidly evolving landscapes of Generative AI and cloud data infrastructure.

Beyond consulting, Tarek is a dedicated educator. He is a three-time recipient of the Pluralsight Elite Instructor Award (2023, 2024, and 2025) and has developed advanced curricula for prestigious institutions in areas such as Deep Learning, LLMOps, and Anomaly Detection. He holds expert-level certifications across AWS, Microsoft Azure, Google Cloud, and Databricks.