Skip to content

API: Should indexing on columns give views or copies? #33780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jbrockmendel opened this issue Apr 24, 2020 · 0 comments
Closed

API: Should indexing on columns give views or copies? #33780

jbrockmendel opened this issue Apr 24, 2020 · 0 comments
Labels
API Design Copy / view semantics Indexing Related to indexing on series/frames, not to indexes themselves Needs Discussion Requires discussion from core team before further action

Comments

@jbrockmendel
Copy link
Member

Migrating the discussion from #33597:

We can improve performance (and memory footprint) by returning views in more cases. The downsides are 1) the returned DataFrames are less-consolidated and 2) users may be relying on getting copies in some situations.

@jbrockmendel jbrockmendel added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 24, 2020
@jbrockmendel jbrockmendel added API Design Indexing Related to indexing on series/frames, not to indexes themselves Needs Discussion Requires discussion from core team before further action and removed Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Copy / view semantics Indexing Related to indexing on series/frames, not to indexes themselves Needs Discussion Requires discussion from core team before further action
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants