pyarrow.compute.ascii_title#

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

Titlecase each word of ASCII input.

For each string in strings, return a titlecased version. Each word in the output will start with an uppercase character and its remaining characters will be lowercase.

This function assumes the input is fully ASCII. If it may contain non-ASCII characters, use “utf8_title” 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.