pandas / 0.22.0 / generated / pandas.dataframe.tail.html /

pandas.DataFrame.tail

DataFrame.tail(n=5) [source]

Return the last n rows.

Parameters:

n : int, default 5

Number of rows to select.

Returns:

obj_tail : type of caller

The last n rows of the caller object.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DataFrame.tail.html