pyarrow.compute.ascii_swapcase#
- pyarrow.compute.ascii_swapcase(strings, /, *, memory_pool=None)#
Transform ASCII input by inverting casing.
For each string in strings, return a string with opposite casing.
This function assumes the input is fully ASCII. If it may contain non-ASCII characters, use “utf8_swapcase” instead.
- Parameters
- stringsArray-like or scalar-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.