CBSE Class 12 Informatics Practices
Question 4 of 18
Practice Paper — Question 12
Back to all questionsprint(len(stud.axes[0]))
Reason — The command stud.axes[0] gives access to the index labels along the 0th axis (rows) of the DataFrame stud. The len(stud.axes[0]) returns the length of this index label array, which corresponds to the total number of rows in the DataFrame stud.