numpy / 1.18.5 / reference / generated / numpy.chararray.swapcase.html /

numpy.chararray.swapcase

method

chararray.swapcase(self) [source]

For each element in self, return a copy of the string with uppercase characters converted to lowercase and vice versa.

See also

char.swapcase

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.chararray.swapcase.html