-
-
Couldn't load subscription status.
- Fork 19.2k
Closed
Labels
Milestone
Description
-
SparseArrayinherits fromnp.ndarray, but it doesn't seem like the instance itself can take on more than one dimension? Documentation doesn't make that super clear IMO. -
If having 1-D sparse arrays is the intention, then I think there should be stronger checks against multi-dimensional
datainputs. For example, if I pass in a multi-dimensionalndarrayintoSparseArray, I get a not so helpful error message that it does not have ansp_index.
sinhrks