Skip to content

ENH: Adding back lookup or value setting by indices #47992

@jasperhyp

Description

@jasperhyp

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

As this discussion shows, there are use cases where we want specific loadings indexed by (row, col) pairs to be set to specific values. Unlike using .loc, indexing a group of columns and a group of rows of the same length would return only the values at corresponding positions.

Feature Description

This shouldn't be difficult...

Alternative Solutions

In numpy or pytorch or any numerical packages this is the default.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNeeds TriageIssue that has not been reviewed by a pandas team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions