SciPy

This is documentation for an old release of NumPy (version 1.17). Read this page in the documentation of the latest stable release (version 2.2).

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

Previous topic

numpy.char.chararray.startswith

Next topic

numpy.char.chararray.swapaxes