swat.cas.table.CASTable.head¶
-
CASTable.
head
(self, n=5, columns=None, bygroup_as_index=True, casout=None)¶ Retrieve first 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.