From f263535633cc952838ff44f28ca9a6aee2c87fb7 Mon Sep 17 00:00:00 2001 From: Alan Velasco Date: Sat, 15 Jul 2017 10:14:41 -0500 Subject: [PATCH] Change "pls" to "please" in error message --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6559fc4c24ce2..4d8b831b7d63f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3359,7 +3359,7 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False, inplace = validate_bool_kwarg(inplace, 'inplace') # 10726 if by is not None: - warnings.warn("by argument to sort_index is deprecated, pls use " + warnings.warn("by argument to sort_index is deprecated, please use " ".sort_values(by=...)", FutureWarning, stacklevel=2) if level is not None: raise ValueError("unable to simultaneously sort by and level")