pandas.DataFrame.select_dtypes¶
Return a subset of the DataFrame’s columns based on the column dtypes.
include, exclude : scalar or list-like A selection of dtypes or strings to be included/excluded. At least one of these parameters must be supplied. :return: DataFrame
The subset of the frame including the dtypes in
include
and excluding the dtypes inexclude
.
- raises
- ValueError
If both of
include
andexclude
are emptyIf
include
andexclude
have overlapping elementsIf any kind of string dtype is passed in.
Warning
This feature is currently unsupported by Intel Scalable Dataframe Compiler