Question: Which function displays the first five rows of the data frame named pizza?

  1. BOF(pizza, 5)
  2. first(pizza, 5)
  3. top(pizza, 5)
  4. head(pizza, 5)

Answer: The correct answer of the above question is Option D:head(pizza, 5)