swat.cas.table.CASTable.groupby

CASTable.groupby(self, by, axis=0, level=None, as_index=True, sort=True, group_keys=True, squeeze=False, **kwargs)

Specify grouping variables for the table

Parameters
bystring or list-of-strings

The column names that specify the grouping variables.

axisint, optional

Not implemented.

levelint, optional

Not implemented.

as_indexboolean, optional

If True, the grouping variables are set as index levels

sortboolean, optional

If True, output will be sorted by group keys.

squeezeboolean, optional

Not implemented.

Returns
CASTableGroupBy