From 722ffec0951e9935cac13a02105396a400fbf77b Mon Sep 17 00:00:00 2001 From: Max Halford Date: Mon, 11 May 2020 19:53:48 +0200 Subject: [PATCH] Fix typo in core/accessor.py --- pandas/core/accessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index f970cefe15527..2caf1f75f3da1 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -270,7 +270,7 @@ def decorator(accessor): if hasattr(cls, name): warnings.warn( f"registration of accessor {repr(accessor)} under name " - f"{repr(name)} for type {repr(cls)} is overriding a preexisting" + f"{repr(name)} for type {repr(cls)} is overriding a preexisting " f"attribute with the same name.", UserWarning, stacklevel=2,