PYTHON PANDAS COMPREHENSIVE PRACTICE
CBSE Informatics Practices (065) | 2025-26 Session
CBSE Informatics Practices (065) | 2025-26 Session
Question 1: Consider the following DataFrame Doctor and write Python statements:
| Index | DID | Name | Department | Fee |
|---|---|---|---|---|
| 0 | 101 | Dr. Joe | ENT | 1500 |
| 1 | 102 | Dr. Salma | UROLOGY | 1600 |
| 2 | 103 | Dr. Jeet | ORTHO | 1550 |
| 3 | 104 | Dr. Neha | ENT | 1200 |
| 4 | 105 | Dr. Vikram | ORTHO | 1700 |
Question 2: Create the following DataFrame using a Dictionary of Series:
| City | State | |
|---|---|---|
| 0 | Mumbai | Maharashtra |
| 1 | Dehradun | Uttarakhand |
| 2 | Bengaluru | Karnataka |
Question 3: Complete the code to get the output (Colour, Name, Qty):