swat.cas.table.CASTable.groupby

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

Specify grouping variables for the table

Parameters:
by : string or list-of-strings

The column names that specify the grouping variables.

axis : int, optional

Not implemented.

level : int, optional

Not implemented.

as_index : boolean, optional

Should the grouping variables be set as index levels?

sort : boolean, optional

Should output be sorted by group keys?

squeeze : boolean, optional

Not implemented.

Returns:
CASTableGroupBy