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
  • 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.