Skip to content

__getitem__ should not collapse to an ndarray #67

@LTLA

Description

@LTLA

On the whole, it is too confusing to not get an object of the same type back. Better to just return a delayed SubsetDropDims if dimensions are to be dropped, or a corresponding lower-dimensional SparseNdarray. If users really want the raw NumPy vectors, they can always do to_dense_array().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions