diff --git a/pandas/util/_decorators.py b/pandas/util/_decorators.py index 29448f4cbfa2a..cba7010a5bc39 100644 --- a/pandas/util/_decorators.py +++ b/pandas/util/_decorators.py @@ -195,7 +195,7 @@ def wrapper(*args, **kwargs) -> Callable[..., Any]: else: new_arg_value = old_arg_value msg = ( - f"the {repr(old_arg_name)}' keyword is deprecated, " + f"the {repr(old_arg_name)} keyword is deprecated, " f"use {repr(new_arg_name)} instead." )