pyarrow.compute.utf8_swapcase

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

Transform input lowercase characters to uppercase and uppercase characters to lowercase.

For each string in strings, return an opposite case version.

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.