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
includeand excluding the dtypes inexclude.
- raises
- ValueError
If both of
includeandexcludeare emptyIf
includeandexcludehave overlapping elementsIf any kind of string dtype is passed in.
Warning
This feature is currently unsupported by Intel Scalable Dataframe Compiler