datetime#
- pylibcudf.datetime.extract_datetime_component(Column values, datetime_component component) Column #
Extract a datetime component from a datetime column.
For details, see
cudf::extract_datetime_component()
.- Parameters:
- valuesColumn
The column to extract the component from.
- componentDatetimeComponent
The datetime component to extract.
- Returns:
- Column
Column with the extracted component.