Question
Fill the statement 1 and Statement 2 according the requirement of output dataset:

Answer

Statement 1 :

df.rename({0:'S01', 1:'S02',2:'S03', 3:'S04',4:'S05'}, axis='index',inplace=True)

Statement 2:

df.rename({'Sno':'Student Number', 'Sname':'Student Name','Mail':'E-Mail', 'Mark':'Marks'}, axis='columns',inplace=True)

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free