Skip to content

New methods iat and at to access single value in DataFrame/Series #349

Closed

Description

@risenW

Regarding your point on:

Should I be using a different method just to get the single value of cell X/Y?

I think we need to add a new method for that. Something like [iat](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.iat.html) in pandas. I'll create an issue for it.

Originally posted by @risenW in #348 (comment)

Acceptance

  • iat method exists and supports retrieving single values by row and/or column index
  • at method exists and supports retrieving single values by row and/or column labels

Activity

  1. KingWebsites commented on Jan 14, 2022

    @KingWebsites

    Great news. Could you add an "at" method too, which is the same but uses named row and column labels?
    https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.at.html

  2. risenW commented on Jan 14, 2022

    @risenW
    MemberAuthor

    Great news. Could you add an "at" method too, which is the same but uses named row and column labels? https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.at.html

    Yes, I'll update the issue description

  3. changed the title [-]New method `iat` to access single value in DataFrame/Series[/-] [+]New methods `iat` and `at` to access single value in DataFrame/Series[/+] on Jan 14, 2022
  4. risenW commented on Jan 14, 2022

    @risenW
    MemberAuthor

    @KingWebsites Would like to work on this?

  5. KingWebsites commented on Jan 14, 2022

    @KingWebsites

    Unfortuately I don't have the skillset to contribute. After years as a front-end dev who just used jQuery I've only spent a few months learning more modern js. I'm hoping to be in a position to do so at some point in the future though.

  6. risenW commented on Jan 14, 2022

    @risenW
    MemberAuthor

    Unfortuately I don't have the skillset to contribute. After years as a front-end dev who just used jQuery I've only spent a few months learning more modern js. I'm hoping to be in a position to do so at some point in the future though.

    No worries at all 👏🏻Thanks for using the library and taking out time to give us feedback. It is also a very important contribution.

  7. self-assigned this
    on Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions