MCPcopy Index your code
hub / github.com/scikit-learn/scikit-learn / toarray

Function toarray

sklearn/preprocessing/tests/test_data.py:90–93  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

88
89
90def toarray(a):
91 if hasattr(a, "toarray"):
92 a = a.toarray()
93 return a
94
95
96def _check_dim_1axis(a):

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…