MCPcopy
hub / github.com/pandas-dev/pandas / _str_rstrip

Method _str_rstrip

pandas/core/strings/object_array.py:497–498  ·  view source on GitHub ↗
(self, to_strip=None)

Source from the content-addressed store, hash-verified

495 return self._str_map(lambda x: x.lstrip(to_strip))
496
497 def _str_rstrip(self, to_strip=None):
498 return self._str_map(lambda x: x.rstrip(to_strip))
499
500 def _str_removeprefix(self, prefix: str):
501 return self._str_map(lambda x: x.removeprefix(prefix))

Callers 1

rstripMethod · 0.45

Calls 2

_str_mapMethod · 0.95
rstripMethod · 0.80

Tested by

no test coverage detected