datetime#

cudf._lib.pylibcudf.datetime.extract_datetime_component(Column col, unicode field)#
cudf._lib.pylibcudf.datetime.extract_year(Column values) Column#

Extract the year from a datetime column.

Parameters:
valuesColumn

The column to extract the year from.

Returns:
Column

Column with the extracted years.