1.

Q2. Consider the following dataframe RESULTSHEET:UT1 Half YearlyUT2 FinalSharad. 57 83 49 89Mansi. 86 67 87 90Kanika 92 78 45 66Ramesh 52 84 55 78Ankita 93 75 87 69Pranay. 98 79 88 96Here, Names of the students are row labels and term names (UT1, Half Yearly, UT2 and Final) are the column labels. Answer the following questions based on the above dataframe:I. Change the row labels from student name to roll numbers from 1 to 6.II. Change the column labels to Term1, Term2, Term3, Term4.III. Add a new column Internal Assessment with values ‘A’, ‘A’,’B’,’A’,’C’, ‘B’IV. Add a new row for the student with name = Asatha and marks equal to 49, 56, 75,58.V. Delete the first rowVI. Delete the third columnVII. Rename Mansi to MahakVIII. Display 2nd row with all columnsIX. Display marks in Half Yearly and Final of all studentsX. Display all marks of students from Mansi to AnkitaXI. Display marks of Mansi to Ankita in UT1 and UT2XII. Display marks of Kanika and Ankita in Half Yearly and FinalXIII. Display first 3 recordsXIV. Display last four records​

Answer»

ANSWER:

bsjsksnssobhsjsksnsksbbnskanajajsbjzbjzzbjzznsjsjksnsjsjsjsbsjsjsbsjsbjssbjshshsbsbsbsbbsb



Discussion

No Comment Found