Skip to content

Commit 05a8bad

Browse files
committed
Merge pull request #10829 from dvmk/master
Minor fix to error messages ('See the the caveats in the documentatio…
2 parents 551f424 + fe58ee3 commit 05a8bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,15 +1300,15 @@ def _check_setitem_copy(self, stacklevel=4, t='setting', force=False):
13001300
t = ("\n"
13011301
"A value is trying to be set on a copy of a slice from a "
13021302
"DataFrame\n\n"
1303-
"See the the caveats in the documentation: "
1303+
"See the caveats in the documentation: "
13041304
"http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy")
13051305

13061306
else:
13071307
t = ("\n"
13081308
"A value is trying to be set on a copy of a slice from a "
13091309
"DataFrame.\n"
13101310
"Try using .loc[row_indexer,col_indexer] = value instead\n\n"
1311-
"See the the caveats in the documentation: "
1311+
"See the caveats in the documentation: "
13121312
"http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy")
13131313

13141314
if value == 'raise':

0 commit comments

Comments
 (0)