We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934df30 commit 08961deCopy full SHA for 08961de
sklearn/pipeline.py
@@ -326,6 +326,10 @@ def __getitem__(self, ind):
326
Pipeline. This copy is shallow: modifying (or fitting) estimators in
327
the sub-pipeline will affect the larger pipeline and vice-versa.
328
However, replacing a value in `step` will not affect a copy.
329
+
330
+ See
331
+ :ref:`sphx_glr_auto_examples_feature_selection_plot_feature_selection_pipeline.py`
332
+ for an example of how to use slicing to inspect part of a pipeline.
333
"""
334
if isinstance(ind, slice):
335
if ind.step not in (1, None):
0 commit comments