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
Social Sciences,
2 months ago
CBSE BOARD X,
2 months ago
English,
5 months ago
Math,
5 months ago
Math,
10 months ago
Chemistry,
10 months ago
English,
10 months ago