Match List-I with List-II
List-I List-II (A) mode( ) (I) set_index (B) altering index (II) library (C) reshaping DataFrame (III) statistical function (D) pymysql (IV) pivoting
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) mode( ) | (I) set_index |
| (B) altering index | (II) library |
| (C) reshaping DataFrame | (III) statistical function |
| (D) pymysql | (IV) pivoting |
Solution
✅ Correct Option: 3
| List I | List II |
|---|---|
| (A) mode( ) | (III) statistical function |
| (B) altering index | (I) set_index |
| (C) reshaping DataFrame | (IV) pivoting |
| (D) pymysql | (II) library |
mode( ) returns the most frequent value, so it is a statistical function like mean( ) and median( ).
pymysql is a Python library used to connect Python to a MySQL database.
set_index( ) changes the row index of a DataFrame, while pivot( ) reshapes it.
Related questions:
2026: 29 May Shift 2
2026: 26 May Shift 1
2026: 24 May Shift 1
2026: 23 May Shift 1