From 72b5a13cb870c1579c4241be68d08b64f1ca5531 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 20 May 2019 10:47:56 +0200 Subject: [PATCH] DOC: fix example with Timestamp/integer addition --- doc/source/user_guide/indexing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index ca788963971ad..4ea7c656fd197 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -868,7 +868,7 @@ You can also set using these same indexers. .. ipython:: python - df.at[dates[-1] + 1, 0] = 7 + df.at[dates[-1] + pd.Timedelta('1 day'), 0] = 7 df Boolean indexing