Skip to content
KnowledgeCity

Python: Utilizing Temporal Visualization

Plot and understand time series data
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Intermediate Provider Brian Higgins  3 Lessons ·  17m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you will use Pandas to read time series data from an Excel file. Temporal or time series data can be thought of as tracking performance over time or looking at data on a timeline. We’ll show you how to plot multiple time series on the same graph and draw inferences about the data from the graphs. Additionally, you will use the HVPlot library to graph multiple time series and focus on these individually with a filter widget.

We’ll also show you how to use Pandas to calculate performance-based data on hypothetical stock prices, then how to plot the data and draw inferences based on those plots. The performance data calculated will be temporal statistics, like growth (percentage change), rolling mean (7-day average), and cumulative returns. You will also draw box plots using time series data to visualize statistical information on each series.

What You'll Learn

  • Import and plot time series data from an Excel file using Pandas
  • Plot multiple time series on the same graph and draw inferences from the graphs
  • Use the HVPlot library to graph multiple time series and focus on individual series with a filter widget
  • Calculate performance-based temporal statistics such as growth (percentage change), rolling mean (7-day average), and cumulative returns
  • Plot calculated performance data with Matplotlib and draw inferences from the plots
  • Create and read box plots to visualize statistical information on time series data

Key Takeaways

  • Temporal or time series data tracks performance over time or views data on a timeline.
  • Pandas can read time series data from an Excel file and calculate performance-based data on hypothetical stock prices.
  • The HVPlot library lets you graph multiple time series and focus on individual series using a filter widget.
  • Calculated temporal statistics include growth (percentage change), rolling mean (7-day average), and cumulative returns.
  • Box plots can be drawn from time series data to visualize statistical information on each series.

Frequently Asked Questions

What will I learn in this course?

You will use Pandas to read time series data from an Excel file, plot multiple time series on the same graph, use the HVPlot library with a filter widget, calculate performance-based temporal statistics, plot the data with Matplotlib, and create and read box plots to draw inferences about the data.

What tools and libraries does this course cover?

The course covers Pandas for reading time series data and calculating performance data, the HVPlot library for graphing multiple time series with a filter widget, and Matplotlib for plotting calculated performance data.

What temporal statistics are calculated in this course?

The course calculates temporal statistics including growth (percentage change), rolling mean (7-day average), and cumulative returns, demonstrated on hypothetical stock prices.

What lessons are included?

The course includes three lessons: Temporal Data With a Line Graph, Plotting Calculated Temporal Data, and Creating a Box Plot to Describe Temporal Data.

What skills will I gain?

You will gain skills in data visualization, scientific visualization, time series, visual analytics, visualization, and the Visualization Toolkit (VTK).