Skip to content

Commit a866605

Browse files
fixing the doc upload warnings
1 parent fa79dde commit a866605

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/user_guide/10min.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ For a :class:`DataFrame`, passing a slice ``:`` selects matching rows:
203203
.. ipython:: python
204204
205205
df[0:3]
206-
df["20130102":"20130104"]
206+
df["2013-01-02":"2013-01-04"]
207207
208208
Selection by label
209209
~~~~~~~~~~~~~~~~~~

doc/source/user_guide/indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Selection by label
314314

315315
.. ipython:: python
316316
317-
dfl.loc['20130102':'20130104']
317+
dfl.loc['2013-01-02':'2013-01-04']
318318
319319
pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
320320
Every label asked for must be in the index, or a ``KeyError`` will be raised.

0 commit comments

Comments
 (0)