Skip to main content
HomePythonManipulating Time Series Data in Python

Manipulating Time Series Data in Python

4.2+
23 reviews
Intermediate

In this course you'll learn the basics of working with time series data.

Start Course for Free
4 Hours16 Videos55 Exercises
54,679 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
GroupTraining 2 or more people?Try DataCamp For Business

Loved by learners at thousands of companies


Course Description

In this course you'll learn the basics of manipulating time series data. Time series data are data that are indexed by a sequence of dates or times. You'll learn how to use methods built into Pandas to work with this index. You'll also learn how resample time series to change the frequency. This course will also show you how to calculate rolling and cumulative values for times series. Finally, you'll use all your new skills to build a value-weighted stock index from actual stock data.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Working with Time Series in Pandas

    Free

    This chapter lays the foundations to leverage the powerful time series functionality made available by how Pandas represents dates, in particular by the DateTimeIndex. You will learn how to create and manipulate date information and time series, and how to do calculations with time-aware DataFrames to shift your data in time or create period-specific returns.

    Play Chapter Now
    How to use dates & times with pandas
    50 xp
    Your first time series
    100 xp
    Indexing & resampling time series
    50 xp
    Create a time series of air quality data
    100 xp
    Compare annual stock price trends
    100 xp
    Set and change time series frequency
    100 xp
    Lags, changes, and returns for stock price series
    50 xp
    Shifting stock prices across time
    100 xp
    Calculating stock price changes
    100 xp
    Plotting multi-period returns
    100 xp

In the following tracks

Finance Fundamentals in PythonTime Series with Python

Collaborators

Collaborator's avatar
Lore Dirick
Collaborator's avatar
Nick Solomon
Stefan Jansen HeadshotStefan Jansen

Founder & Lead Data Scientist at Applied Artificial Intelligence

Stefan is the Founder & Lead Data Scientist at Applied Artificial Intelligence. He has 15 years of experience in finance and investments, with a big focus on emerging markets.
See More

Don’t just take our word for it

*4.2
from 23 reviews
61%
9%
26%
4%
0%
Sort by
  • Tat Y.
    9 months

    useful

  • Jason O.
    about 1 year

    Informative course and engagingly delivered.

  • Christian S.
    about 1 year

    Great

  • Greg T.
    over 1 year

    I've been trying to understand time series for some time. This course really helped me to understand DateTime indices, resampling, and "rolling".

  • Kevin C.
    over 1 year

    Great course

"useful"

Tat Y.

"Informative course and engagingly delivered."

Jason O.

"Great"

Christian S.

Join over 13 million learners and start Manipulating Time Series Data in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.