pyarrow.compute.iso_calendar

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

Extract (ISO year, ISO week, ISO day of week) struct.

ISO week starts on Monday denoted by 1 and ends on Sunday denoted by 7. 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.