8000 BUG: .iloc[:] and .loc[:] return a copy of the original object #13873 by margaret · Pull Request #16443 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: .iloc[:] and .loc[:] return a copy of the original object #13873 #16443

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

Merged
merged 13 commits into from
Jun 14, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add item for indexers returning new object instead of original
  • Loading branch information
margaret committed Jun 14, 2017
commit 6771c595f10f27d1ecb5d107768680ff753d8a07
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.21.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Conversion
Indexing
^^^^^^^^

- When called with a null slice (i.e. ``df.iloc[:]``), the``iloc`` and ``loc`` indexers return a shallow copy of the original object. Previously they returned the original object. (:issue:`13873`).


I/O
Expand Down
0