Match List-I with List-II
List-I List-II (A). loc[ ] (I). Access using condition (B). .iloc[ ] (II). Access through labels (C). Boolean indexing (III). Access through position (D). Slicing (IV). Create a subset of the Array
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A). loc[ ] | (I). Access using condition |
| (B). .iloc[ ] | (II). Access through labels |
| (C). Boolean indexing | (III). Access through position |
| (D). Slicing | (IV). Create a subset of the Array |
Solution
✅ Correct Option: 4
| List I | List II |
|---|---|
| (A) loc[ ] | (II) Access through labels |
| (B) .iloc[ ] | (III) Access through position |
| (C) Boolean indexing | (I) Access using condition |
| (D) Slicing | (IV) Create a subset of the Array |
loc = label, iloc = integer position (the "i" stands for integer).
Related questions:
2026: 31 May Shift 1
2025: 15 May Shift 2