Dealing With Dates in Pandas — 6 Common Operations You Should Know

Never confused with dates again, hopefully.

Yong Cui
Towards Data Science
5 min readNov 5, 2021

--

Photo by insung yoon on Unsplash

Besides texts and numbers, dates are a very common data type in our datasets. When we use Pandas to process dates, it’s definitely not the most straightforward task for most data scientists. When I began to use Pandas, I wasn’t familiar with date-related features, so every time…

--

--

Work at the nexus of biomedicine, data science & mobile dev. Author of Python How-to by Manning (https://www.manning.com/books/python-how-to).