Skip to content

Commit a3238d9

Browse files
committed
Remove lines and be consistent with wording
1 parent 1a93d2a commit a3238d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/indexing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ def _get_slice_axis(self, slice_obj, axis=None):
14141414

14151415
class _LocIndexer(_LocationIndexer):
14161416
"""
1417-
Selects a group of rows and columns by label(s) or a boolean array.
1417+
Access a group of rows and columns by label(s) or a boolean array.
14181418
14191419
``.loc[]`` is primarily label based, but may also be used with a
14201420
boolean array.
@@ -1460,14 +1460,12 @@ class _LocIndexer(_LocationIndexer):
14601460
c2 1
14611461
Name: r1, dtype: int64
14621462
1463-
14641463
Single label for row and column (note it would be faster to use
14651464
``DateFrame.at`` in this case)
14661465
14671466
>>> df.loc['r0', 'c1']
14681467
2
14691468
1470-
14711469
A list of labels
14721470
14731471
>>> df.loc[['r1', 'r2']]

0 commit comments

Comments
 (0)