Which of the following best describes the behavior of the head() and tail() functions in Pandas?

1
Both return the first five rows by default, and additional rows can be specified using a parameter.
2
head() returns the last five rows, while tail() returns the first five rows.
3
tail() can return only a single row at a time, while head() can return multiple rows.
4
head() is used to display summary statistics, while tail() is used for data visualization.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation