numpy.core.defchararray.chararray.swapcase

method

chararray.swapcase()[源代码]

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

参见

char.swapcase