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

Extract (year, month, day) struct.

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

valuesArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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