diff --git a/pandas/util/_decorators.py b/pandas/util/_decorators.py index 6b55554cdc941..7d5753d03f4fc 100644 --- a/pandas/util/_decorators.py +++ b/pandas/util/_decorators.py @@ -140,8 +140,8 @@ def wrapper(*args, **kwargs): if new_arg_name is None and old_arg_value is not None: msg = ( "the '{old_name}' keyword is deprecated and will be " - "removed in a future version " - "please takes steps to stop use of '{old_name}'" + "removed in a future version. " + "Please take steps to stop the use of '{old_name}'" ).format(old_name=old_arg_name) warnings.warn(msg, FutureWarning, stacklevel=stacklevel) kwargs[old_arg_name] = old_arg_value