numpy / 1.19.0 / reference / generated / numpy.char.chararray.strip.html /

numpy.char.chararray.strip

method

chararray.strip(self, chars=None)

For each element in self, return a copy with the leading and trailing characters removed.

See also

char.strip

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