Grouping on dates in pandas

Published: 01 March 2022
on channel: Python and Pandas with Reuven Lerner
20,693
371

Pandas has great support for dates and times — and that extends to its grouping capabilities, too. In this video, I show you how to group on datetime fields, both indirectly (by creating a new column) and directly in the call to "groupby". This video continues my previous one, in which I introduce grouping in pandas.

Jupyter notebooks from what I create here are all at https://github.com/reuven/YouTube-not....

And for free, weekly Python articles, check out https://BetterDevelopersWeekly.com/.