Skip to content

Commit 0300498

Browse files
bumblebee211196bumblebebee211196
andauthored
DOC Fix typo in docstring for Pipeline __getitem__ method (scikit-learn#20523)
Co-authored-by: bumblebebee211196 <[email protected]>
1 parent 69fc0bc commit 0300498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def __len__(self):
218218
return len(self.steps)
219219

220220
def __getitem__(self, ind):
221-
"""Returns a sub-pipeline or a single esimtator in the pipeline
221+
"""Returns a sub-pipeline or a single estimator in the pipeline
222222
223223
Indexing with an integer will return an estimator; using a slice
224224
returns another Pipeline instance which copies a slice of this

0 commit comments

Comments
 (0)