@@ -568,6 +568,46 @@ def func(): pass
568568 will be represented by a ``cv_results_`` dict
569569"""
570570
571+
572+ NESTED_PARAMETERS = """
573+ Parameters
574+ ----------
575+ transformers : list of tuples
576+ List of (name, transformer, columns) tuples.
577+ name : str
578+ Like in Pipeline and FeatureUnion, this allows the transformer and
579+ search.
580+ transformer : {'drop', 'passthrough'} or estimator
581+ Estimator must support :term:`fit` and :term:`transform`.
582+ columns : str, array-like of str, int, array-like of int, \
583+ array-like of bool, slice or callable
584+ Indexes the data on its second axis. Integers are interpreted as
585+ above. To select multiple columns by name or dtype, you can use
586+ :obj:`make_column_selector`.
587+ remainder : {'drop', 'passthrough'} or estimator, default='drop'
588+ By default, only the specified columns in `transformers` are
589+ """
590+
591+ NESTED_PARAMETERS_MARKDOWN = """
592+ #### Parameters
593+
594+ - `transformers`: list of tuples
595+ List of (name, transformer, columns) tuples.
596+ - `name`: str
597+ Like in Pipeline and FeatureUnion, this allows the transformer and
598+ search.
599+ - `transformer`: {'drop', 'passthrough'} or estimator
600+ Estimator must support `fit` and `transform`.
601+ - `columns`: str, array-like of str, int, array-like of int, \
602+ array-like of bool, slice or callable
603+ Indexes the data on its second axis. Integers are interpreted as
604+ above. To select multiple columns by name or dtype, you can use
605+ `make_column_selector`.
606+ - `remainder`: {'drop', 'passthrough'} or estimator, default='drop'
607+ By default, only the specified columns in `transformers` are
608+ """
609+
610+
571611INTEGRATION = """
572612Return a fixed frequency DatetimeIndex.
573613
@@ -702,6 +742,10 @@ def func(): pass
702742 'converts indented grid table' : {
703743 'rst' : GRID_TABLE_IN_SKLEARN ,
704744 'md' : GRID_TABLE_IN_SKLEARN_MARKDOWN
745+ },
746+ 'converts nested parameter lists' : {
747+ 'rst' : NESTED_PARAMETERS ,
748+ 'md' : NESTED_PARAMETERS_MARKDOWN
705749 }
706750}
707751
0 commit comments