swat.cas.table.CASTable.tail

CASTable.tail(self, n=5, columns=None, bygroup_as_index=True, casout=None)

Retrieve last n rows

Parameters
nint or long, optional

The number of rows to return.

columnslist-of-strings, optional

A subset of columns to return.

bygroup_as_indexboolean

When by_group_index is True, By groups are converted to an index if they exist

Returns
SASDataFrame

Notes

Since CAS tables can be distributed across a grid of computers, the order is not guaranteed. If you do not apply a sort order using sort_values() the results are not predictable.