Extracting Information from Dates

Learn how to extract a piece of information from a date with Pandas.

Dates include lots of information

A Timestamp object contains multiple pieces of information, such as year, month, week, day of the week, hour, minute, and so on. We have many options to express an instance in time. In some cases, it’s enough to only specify the date. Some tasks require precision in minutes or seconds.

Get hands-on with 1400+ tech skills courses.