Skip to content

Enable indexing into data object like a numpy array #19

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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