Concept Flow - Extracting year, month, day
Start with datetime column
Use .dt accessor
Extract year/month/day
Create new columns with extracted values
Use extracted data for analysis
We start with a datetime column, use pandas .dt accessor to get year, month, and day, then store these in new columns for easy use.