#79 Pandas (Part 56): Time: PeriodIndex, DatetimeIndex, frequncy, invalid time, index | Tutorial

Published: 22 July 2020
on channel: learndataa
450
8

The video discsses DatetimeIndex, PeriodIndex, indexing a Series vs. List, frequency for time indexing, creating Timestamp from DataFrame columns, and how to handle invalid time in Pandas in Python.

Timeline
(Python 3.7)

00:00 - Welcome
00:10 - Outline of video
01:14 - Open Jupyter notebook
02:03 - Create a list of Timestamps
02:34 - Create a Series with DatetimeIndex
03:49 - Create a list of Periods
04:20 - Create a Series with PeriodIndex
05:47 - Compare Series vs. List: Series to datetime64
07:16 - Compare Series vs. List: List to DateTimeIndex
08:30 - Directly create DatetimeIndex
09:50 - Directly create DatetimeIndex: freq='infer'
10:35 - Create a DataFrame with 'year', 'month', 'day'
11:21 - Create Timestamp from columns in DataFrame: pd.to_datetime()
13:01 - Invalid date: errors='raise', 'ignore', 'coerce'
14:22 - Ending notes