Skip to content

Enable indexing into data object like a numpy array #19

@olivercliff

Description

@olivercliff

Using the getitem method, we should be able to do the following:

print(data[i])

Rather than

print(data.to_numpy()[i])

Which makes a lot of the code neater. Potentially also enable the setitem feature, but that might be dubious

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions