S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to get the last n rows of a DataFrame?

  • (A) head()
  • (B) tail()
  • (C) last()
  • (D) sample()
  • Correct Answer - Option(B)
  • Views: 45
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The tail(n) method returns the last n rows of a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics