Skip to content

Implement table label indexing #2204

Closed
Closed

Description

@astrofrog

As discussed on #sunpy with @Cadair, it would be good to have a way to index table rows based on an index column - the equivalent of loc in Pandas:

http://pandas.pydata.org/pandas-docs/stable/indexing.html

Of course, we can't do this in the normal item access, but we could consider having e.g. an loc or select method?

Activity

  1. Cadair commented on Mar 16, 2014

    @Cadair
    Member

    This is pretty much required for us to base our sunpy.lightcurve object on Table. We also are looking at getting a GSOC student to work on this.

  2. added this to the Future milestone on Mar 16, 2014
  3. taldcroft commented on Mar 18, 2014

    @taldcroft
    Member

    @Cadair - can you give a brief example of how you would be using index selection?

  4. astrofrog commented on Jan 29, 2016

    @astrofrog
    MemberAuthor
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions