CBSE Class 12 Informatics Practices
Question 43 of 101
Python Pandas — II — Question 19
Back to all questionstail(3)
Reason — The tail() function in pandas is used to get the bottom n rows of a DataFrame, where n is an optional argument. Hence, tail(3) is correct and will return the bottom 3 rows of the DataFrame.