By default, df.head() in pandas returns how many rows?
Show answerHide answer
Correct answer: (B) 5
Explanation
head(n) defaults to n = 5.
Correct answer: (B) 5
Explanation
head(n) defaults to n = 5.
This is question 144 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.