Skip to content

Commit 109e1c2

Browse files
Fix: updated timeseries.rst
1 parent 2582fcb commit 109e1c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user_guide/timeseries.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,11 @@ Dates and strings that parse to timestamps can be passed as indexing parameters:
566566

567567
.. ipython:: python
568568
569-
ts["1/31/2011"]
569+
ts["2011-01-31"]
570570
571571
ts[datetime.datetime(2011, 12, 25):]
572572
573-
ts["10/31/2011":"12/31/2011"]
573+
ts["2011-10-31":"2011-12-31"]
574574
575575
To provide convenience for accessing longer time series, you can also pass in
576576
the year or year and month as strings:

0 commit comments

Comments
 (0)