We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce581e6 commit 0fdaa01Copy full SHA for 0fdaa01
doc/source/user_guide/indexing.rst
@@ -262,6 +262,10 @@ The most robust and consistent way of slicing ranges along arbitrary axes is
262
described in the :ref:`Selection by Position <indexing.integer>` section
263
detailing the ``.iloc`` method. For now, we explain the semantics of slicing using the ``[]`` operator.
264
265
+ .. note::
266
+
267
+ When the :class:`Series` has float indices, slicing will select by position.
268
269
With Series, the syntax works exactly as with an ndarray, returning a slice of
270
the values and the corresponding labels:
271
0 commit comments