Skip to content

Commit

Permalink
[MRG] DOC add non support of COO safe indexing (#9423)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored and jnothman committed Jul 20, 2017
1 parent 334850f commit 93d0766
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sklearn/utils/__init__.py
Expand Up @@ -135,6 +135,11 @@ def safe_indexing(X, indices):
-------
subset
Subset of X on first axis
Notes
-----
CSR, CSC, and LIL sparse matrices are supported. COO sparse matrices are
not supported.
"""
if hasattr(X, "iloc"):
# Pandas Dataframes and Series
Expand Down

0 comments on commit 93d0766

Please sign in to comment.