Skip to content

Commit b563d45

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
DOC: fix example with Timestamp/integer addition (#26467)
1 parent 1add02c commit b563d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/indexing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ You can also set using these same indexers.
868868

869869
.. ipython:: python
870870
871-
df.at[dates[-1] + 1, 0] = 7
871+
df.at[dates[-1] + pd.Timedelta('1 day'), 0] = 7
872872
df
873873
874874
Boolean indexing

0 commit comments

Comments
 (0)