pandas.Series.str.swapcase
pandas 3.1.1 · Series and accessors · method
Convert lowercase letters to uppercase and uppercase letters to lowercase.
Call syntax
Series.str.swapcase()Run the example
Edit the example and select Run Python to see the result.
Parameters
This call takes no arguments.
Returns
Series or Index of objects