#60 Pandas (Part 37): Aggregate with rolling window and Expanding window in Python | Tutorial

preview_player
Показать описание
The video discusses aggregate with rolling window and expanding windows in Pandas in Python.

Timeline
(Python 3.7)

00:00 - Welcome
00:10 - Outline of video
00:31 - Open Jupyter notebook
00:40 - Data
01:22 - Create object for .rolling()
02:39 - .aggregate() vs. .agg()
02:48 - Aggregate: with custom function
03:35 - Aggregate: with selected columns from a DataFrame
04:04 - Aggregate: for a column: calculate multiple statistics simultaneously
05:02 - Aggregate: for entire DatFrame: calculate multiple statistics simultaneously
05:42 - Aggregate: for entire DataFrame: use dictionary to specify different statistics for each individual column
07:07 - Aggregate: for entire DataFrame: alternative use of dictionary where statistical methods are specified as strings
08:37 - Rolling sum
09:02 - Expanding sum
09:38 - Expanding vs. Rolling sum: explanation
10:27 - Expanding vs. Rolling sum: explanation: min_periods
11:51 - Ending notes
Рекомендации по теме