bigframes.pandas.Series.tail#

Series.tail(n:int=5)Series[source]#

Return the lastn rows.

This function returns lastn rows from the object based onposition. It is useful for quickly verifying data, for example,after sorting or appending rows.

For negative values ofn, this function returns all rows exceptthe first|n| rows, equivalent todf[|n|:].

If n is larger than the number of rows, this function returns all rows.

Parameters:

n (int,default 5) – Number of rows to select.

Returns:

The lastn rows of the caller object.

Return type:

bigframes.pandas.DataFrame

On this page

This Page