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

Method _str_rsplit

pandas/core/strings/object_array.py:391–395  ·  view source on GitHub ↗
(self, pat=None, n=-1)

Source from the content-addressed store, hash-verified

389 return self._str_map(f, dtype=object)
390
391 def _str_rsplit(self, pat=None, n=-1):
392 if n is None or n == 0:
393 n = -1
394 f = lambda x: x.rsplit(pat, n)
395 return self._str_map(f, dtype="object")
396
397 def _str_translate(self, table):
398 return self._str_map(lambda x: x.translate(table))

Callers 1

rsplitMethod · 0.45

Calls 2

_str_mapMethod · 0.95
rsplitMethod · 0.80

Tested by

no test coverage detected