pyarrow.compute.ascii_capitalize#

pyarrow.compute.ascii_capitalize(strings, /, *, memory_pool=None)#

Capitalize the first character of ASCII input.

For each string in strings, return a capitalized version.

This function assumes the input is fully ASCII. If it may contain non-ASCII characters, use “utf8_capitalize” instead.

Parameters
stringsArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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