[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../api/../generated/pyarrow.compute.year.html [Back]  [Original]

pyarrow.compute.year — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.year#

pyarrow.compute.year(values, /, *, memory_pool=None)#

Extract year number.

Null values emit null. An error is returned if the values have a defined timezone but it cannot be found in the timezone database.

Parameters:
valuesArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.


Web Proxy Viewer  |  New URL  |  Original Page