copying#

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.