You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/indexing.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Different Choices for Indexing
69
69
.. versionadded:: 0.11.0
70
70
71
71
Object selection has had a number of user-requested additions in order to
72
-
support more explicit location based indexing. pandas now supports three types
72
+
support more explicit location based indexing. Pandas now supports three types
73
73
of multi-axis indexing.
74
74
75
75
- ``.loc`` is primarily label based, but may also be used with a boolean array. ``.loc`` will raise ``KeyError`` when the items are not found. Allowed inputs are:
@@ -401,7 +401,7 @@ Selection By Position
401
401
This is sometimes called ``chained assignment`` and should be avoided.
402
402
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`
403
403
404
-
pandas provides a suite of methods in order to get **purely integer based indexing**. The semantics follow closely python and numpy slicing. These are ``0-based`` indexing. When slicing, the start bounds is *included*, while the upper bound is *excluded*. Trying to use a non-integer, even a **valid** label will raise a ``IndexError``.
404
+
Pandas provides a suite of methods in order to get **purely integer based indexing**. The semantics follow closely python and numpy slicing. These are ``0-based`` indexing. When slicing, the start bounds is *included*, while the upper bound is *excluded*. Trying to use a non-integer, even a **valid** label will raise an ``IndexError``.
405
405
406
406
The ``.iloc`` attribute is the primary access method. The following are valid inputs:
0 commit comments