Introduction
The dt accessor helps you easily get parts of dates and times from your data. It makes working with dates simple and clear.
You want to find the year or month from a list of dates.
You need to filter data by day of the week, like only Mondays.
You want to add a new column showing the hour from timestamps.
You need to check if dates fall on weekends.
You want to extract the day or week number from dates.