CBSE Class 12 Informatics Practices Question 13 of 44

Solved 2025 Sample Question Paper CBSE Class 12 Informatics Practices (065) — Question 13

Back to all questions
13
Question

Question 13

In a Pandas DataFrame, if the tail() function is used without specifying the optional argument indicating the number of rows to display, what is the default number of rows displayed, considering the DataFrame has 10 entries ?

  1. 0
  2. 1
  3. 4
  4. 5
Answer

5

Reason — In a Pandas DataFrame, if the tail() function is used without specifying an optional argument, it displays the last 5 rows by default.