You are on page 1of 1

INFORMATICS PRACTICES CLASS 12

DATAFRAME BOOLEAN INDEXING


Worksheet-2
Consider the given dataframe and answer the following questions:
names clas sec phy chem eng Proj_rem
100 sush 11 A 34 78 50 Avg
101 adarsh 12 A 40 90 55 Good
102 ravi 11 C 56 50 67 Good
103 manu 12 A 67 65 68 Fair
104 sushma 12 B 50 90 69 Avg
Q1. Write program to create the dataframe “student”.

Q2. WAC to display the details of class 11 students.

Q3. WAC display the project remarks of all students.

Q4. WAC display project remarks of class 11 students.

Q5. WAC to display all subject marks for class 12 students.


Q6. WAC to display the names and class of section “A” and “B” students.
Q7. Display the details of students who have got Good in their Project
remarks
Q8. Change the physics marks of Adarsh to 50.

Q9. WAC to Change the name “sushma” to Sushmita”.

Q10. WAC to change the Project remark to “Excellent” for those who have
got more than 80 in chemistry.

You might also like