Q. Which method is used to get the last n rows of a DataFrame?
β
Correct Answer: (B)
tail()
Explanation: The tail(n) method returns the last n rows of a DataFrame.