Skip to content

Commit adae1b2

Browse files
Fix: updated timeseries.rst
1 parent a88db1b commit adae1b2

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
@@ -589,11 +589,11 @@ Dates and strings that parse to timestamps can be passed as indexing parameters:
589589

590590
.. ipython:: python
591591
592-
ts["1/31/2011"]
592+
ts["2011-01-31"]
593593
594594
ts[datetime.datetime(2011, 12, 25):]
595595
596-
ts["10/31/2011":"12/31/2011"]
596+
ts["2011-10-31":"2011-12-31"]
597597
598598
To provide convenience for accessing longer time series, you can also pass in
599599
the year or year and month as strings:

0 commit comments

Comments
 (0)