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.

  • strings (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.