CBSE Class 12 Informatics Practices
Question 136 of 167
Python Pandas — I — Question 26
Back to all questions name age weight height siblings gender IQ Married
Jiya Jiya 10 75 4.5 1 M 130 False
Tim Tim 15 123 5.0 1 M 105 False
Rohan Rohan 20 239 6.1 1 M 115 False
The code adds two new columns "IQ" with values [130, 105, 115] and "Married" with value "False" for all rows to DataFrame df2, then prints the DataFrame.