From fe58ee396b564284539b4c45ad928a3311a1b912 Mon Sep 17 00:00:00 2001 From: David Kelly Date: Sun, 16 Aug 2015 03:27:07 -0500 Subject: [PATCH] Minor fix to error messages ('See the the caveats in the documentation...') --- pandas/core/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2ced2aafe2f1c..2fc288de438b3 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1300,7 +1300,7 @@ def _check_setitem_copy(self, stacklevel=4, t='setting', force=False): t = ("\n" "A value is trying to be set on a copy of a slice from a " "DataFrame\n\n" - "See the the caveats in the documentation: " + "See the caveats in the documentation: " "http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy") else: @@ -1308,7 +1308,7 @@ def _check_setitem_copy(self, stacklevel=4, t='setting', force=False): "A value is trying to be set on a copy of a slice from a " "DataFrame.\n" "Try using .loc[row_indexer,col_indexer] = value instead\n\n" - "See the the caveats in the documentation: " + "See the caveats in the documentation: " "http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy") if value == 'raise':