diff --git a/pandas/core/strings/object_array.py b/pandas/core/strings/object_array.py index 1904ce32f3170..7421645baa463 100644 --- a/pandas/core/strings/object_array.py +++ b/pandas/core/strings/object_array.py @@ -434,9 +434,9 @@ def _str_rstrip(self, to_strip=None): return self._str_map(lambda x: x.rstrip(to_strip)) def _str_removeprefix(self, prefix: str) -> Series: - # outstanding question on whether to use native methods for users - # on Python 3.9+ https://bit.ly/3LuMeRn, in which case we could do - # 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) def removeprefix(text: str) -> str: if text.startswith(prefix):