0 votes
in Python by
How to access the last five entries of a dataframe?

1 Answer

0 votes
by

By using tail(5) function we can get the top five entries of a dataframe. By default df.tail() returns the top 5 rows. To get the last n rows df.tail(n) will be used.

...