extract_date_component
Extract a component such as day, week, weekday etc. from a date column.
The type of the output column depends on the component extracted. Where the component is a name (e.g. of the day of week), the result will be a categorical column. Otherwise it will be numeric.
Was this page helpful?