All pandas problems
MediumTransform
Parse the date column
Convert the date column from string to datetime, then extract the weekday name for each row. Weekday analysis is one of the most requested slices in ecommerce dashboards.
- #to_datetime
- #dt-accessor
Sample input
same sales CSV
Sample output
df with a new "weekday" column (Thursday, Friday, etc.)
pd-parse-dates.pyneeds: pandas
Output
Press "Run code" to execute.
