evalml.pipelines.components.DropColumns

Inheritance diagram of DropColumns
class evalml.pipelines.components.DropColumns(columns=None, random_state=0, **kwargs)[source]

Drops specified columns in input data.

name = 'Drop Columns Transformer'
model_family = 'none'
hyperparameter_ranges = {}
default_parameters = {'columns': None}

Instance attributes

needs_fitting

parameters

Returns the parameters which were used to initialize the component

Methods:

__init__

Initalizes an transformer that drops specified columns in input data.

clone

Constructs a new component with the same parameters

describe

Describe a component and its parameters

fit

‘Fits’ the transformer by checking if the column names are present in the dataset.

fit_transform

Fit transformer to data, then transform data.

load

Loads component at file path

save

Saves component at file path

transform

Transforms data X by dropping columns.