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

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

pyarrow.compute.us_week#

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

Extract US week of year number.

First US week has the majority (4 or more) of its days in January. US week starts on Monday. The week number starts with 1 and can run up to 53. 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