swat.cas.table.CASTable.select_dtypes

CASTable.select_dtypes(self, include=None, exclude=None, inplace=False)

Return a subset CASTable including/excluding columns based on data type

Parameters
includelist-of-strings, optional

List of data type names to include in result

excludelist-of-strings, optional

List of data type names to exclude from result

inplaceboolean, optional

If True, the table is modified in place

Returns
CASTable object

If inplace == False

self

If inplace == True

Notes

In addition to data type names, the names ‘number’ and ‘numeric’ can be used to refer to all numeric types. The name ‘character’ can be used to refer to all character types.

Numerics can also be referred to by the names ‘integer’ and ‘floating’ to refer to integers and floating point types, respectively.