Hitesh wants to display the last four rows of the dataframe df and has
written the following code: (1)
df.tail( )
But the last 5 rows are being displayed. Identify the error and rewrite
the correct code so that last rows get displayed.
Answers
Answered by
2
df.tail(4)
Similar questions