We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ed8cf commit c7f615bCopy full SHA for c7f615b
pandas/core/strings/object_array.py
@@ -434,9 +434,9 @@ def _str_rstrip(self, to_strip=None):
434
return self._str_map(lambda x: x.rstrip(to_strip))
435
436
def _str_removeprefix(self, prefix: str) -> Series:
437
- # outstanding question on whether to use native methods for users
438
- # on Python 3.9+ https://bit.ly/3LuMeRn, in which case we could do
439
- # return self._str_map(str.removeprefix)
+ # outstanding question on whether to use native methods for users on Python 3.9+
+ # https://github.com/pandas-dev/pandas/pull/39226#issuecomment-836719770,
+ # in which case we could do return self._str_map(str.removeprefix)
440
441
def removeprefix(text: str) -> str:
442
if text.startswith(prefix):
0 commit comments