SciPy

numpy.char.chararray.rstrip

method

chararray.rstrip(self, chars=None)

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

See also

char.rstrip

Previous topic

numpy.char.chararray.rsplit

Next topic

numpy.char.chararray.searchsorted