πŸ“Š Pandas
Q. Which method is used to get the last n rows of a DataFrame?
  • (A) head()
  • (B) tail()
  • (C) last()
  • (D) sample()
πŸ’¬ Discuss
βœ… Correct Answer: (B) tail()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
98%
Success Rate