Skip to main content

Nurgul Aidossova has completed

Time Series Analysis in PostgreSQL

Start Course for Free
4 hr
3,800 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies


Course Description

This course teaches you how to leverage PostgreSQL to handle date and time data. You'll learn about functions and calls to help you parse through and manipulate this data, make calculations, and use window functions.

Work with time series data



You’ll learn about various date and time data types and how to convert between them, manipulate their granularity, and perform calculations, including aggregations, partitioning, and running averages. These insights will help you add value to existing time series data.

Apply time series analysis to real-world data



You'll apply these techniques to real-world data to analyze temperatures, look at train schedules, and review how the popularity of news articles can change over time.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Introduction to Date and Time Data in PostgreSQL

    Free

    In this chapter, you’ll be introduced to date and time data types. You’ll learn how to convert text and numeric data to date and time format—and how to convert the other way around too!

    Play Chapter Now
    Introduction to date and time data types
    50 xp
    PostgreSQL data types
    50 xp
    INSERT time INTO table
    100 xp
    Working with time zone information
    50 xp
    Find the time zones
    100 xp
    Convert to a different time zone
    100 xp
    Converting between date, time, and text
    50 xp
    Casting dates
    100 xp
    Converting dates
    100 xp
    Converting date and times
    100 xp
  2. 3

    Using Window Functions to Analyze Time Series Data

    In this chapter, you’ll work with window functions. You'll begin learning about partitions and partitioning and how they work with window functions. You'll be able to find the top items when ranking your data.

    Play Chapter Now
  3. 4

    Calculating Running Totals and Moving Averages

    In the final chapter, you’ll level up your skills by calculating the running total, running average, and even moving average to enhance your time series analysis.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

collaborators

Collaborator's avatar
Mark Plutowski
Collaborator's avatar
Izzy Weber

prerequisites

Joining Data in SQL
Jasmin Ludolf HeadshotJasmin Ludolf

Senior Data Science and AI Content Developer, DataCamp

Jasmin is a Senior Content Developer at DataCamp. After ten years as a global marketing manager in the music industry, she changed careers to follow her curiosity for data. Her passion is value exchange and making data science and AI accessible to all.

Join over 19 million learners and start Time Series Analysis in PostgreSQL today!

Create Your Free Account

or

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

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.