File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -858,9 +858,9 @@ and :ref:`Advanced Indexing <advanced>` you may select along more than one axis
858
858
859
859
.. warning ::
860
860
861
- While ``loc `` supports two kinds of boolean indexing, ``iloc `` only supports indexing with a
862
- boolean array. If the indexer is a boolean ``Series ``, an error will be raised. For instance,
863
- in the following example, ``df.iloc[s.values, 1] `` is ok. The boolean indexer is an array.
861
+ While ``loc `` supports two kinds of boolean indexing, ``iloc `` only supports indexing with a
862
+ boolean array. If the indexer is a boolean ``Series ``, an error will be raised. For instance,
863
+ in the following example, ``df.iloc[s.values, 1] `` is ok. The boolean indexer is an array.
864
864
But ``df.iloc[s, 1] `` would raise ``ValueError ``.
865
865
866
866
.. ipython :: python
You can’t perform that action at this time.
0 commit comments