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

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

pyarrow.compute.count#

pyarrow.compute.count(array, /, mode='only_valid', *, options=None, memory_pool=None)#

Count the number of null / non-null values.

By default, only non-null values are counted. This can be changed through CountOptions.

Parameters:
arrayArray-like

Argument to compute function.

modestr, default only_valid

Which values to count in the input. Accepted values are only_valid, only_null, all.

optionspyarrow.compute.CountOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

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


Web Proxy Viewer  |  New URL  |  Original Page