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

Method _str_endswith

pandas/core/strings/object_array.py:167–170  ·  view source on GitHub ↗
(self, pat, na=lib.no_default)

Source from the content-addressed store, hash-verified

165 return self._str_map(f, na_value=na, dtype=np.dtype(bool))
166
167 def _str_endswith(self, pat, na=lib.no_default):
168 validate_na_arg(na, name="na")
169 f = lambda x: x.endswith(pat)
170 return self._str_map(f, na_value=na, dtype=np.dtype(bool))
171
172 def _str_replace(
173 self,

Callers 1

endswithMethod · 0.45

Calls 4

_str_mapMethod · 0.95
validate_na_argFunction · 0.90
endswithMethod · 0.80
dtypeMethod · 0.45

Tested by

no test coverage detected