Skip to content

Commit

Permalink
DOC Update make_transformer docs for new default (#11658)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger authored and qinhanmin2014 committed Jul 23, 2018
1 parent 53622e8 commit 2887892
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sklearn/compose/_column_transformer.py
Expand Up @@ -71,7 +71,7 @@ class ColumnTransformer(_BaseComposition, TransformerMixin):
A callable is passed the input data `X` and can return any of the
above.
remainder : {'passthrough', 'drop'} or estimator, default 'drop'
remainder : {'drop', 'passthrough'} or estimator, default 'drop'
By default, only the specified columns in `transformers` are
transformed and combined in the output, and the non-specified
columns are dropped. (default of ``'drop'``).
Expand Down Expand Up @@ -625,14 +625,14 @@ def make_column_transformer(*transformers, **kwargs):
----------
*transformers : tuples of column selections and transformers
remainder : {'passthrough', 'drop'} or estimator, default 'passthrough'
By default, all remaining columns that were not specified in
`transformers` will be automatically passed through (default of
``'passthrough'``). This subset of columns is concatenated with the
output of the transformers.
By using ``remainder='drop'``, only the specified columns in
`transformers` are transformed and combined in the output, and the
non-specified columns are dropped.
remainder : {'drop', 'passthrough'} or estimator, default 'drop'
By default, only the specified columns in `transformers` are
transformed and combined in the output, and the non-specified
columns are dropped. (default of ``'drop'``).
By specifying ``remainder='passthrough'``, all remaining columns that
were not specified in `transformers` will be automatically passed
through. This subset of columns is concatenated with the output of
the transformers.
By setting ``remainder`` to be an estimator, the remaining
non-specified columns will use the ``remainder`` estimator. The
estimator must support `fit` and `transform`.
Expand Down

0 comments on commit 2887892

Please sign in to comment.