swat.cas.table.CASTable.select_dtypes

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

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

Parameters:
include : list-of-strings, optional

List of data type names to include in result

exclude : list-of-strings, optional

List of data type names to exclude from result

inplace : boolean, optional

Should the table be 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.