8000 BUG: concat not copying index and columns when copy=True by fujiaxiang · Pull Request #31119 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: concat not copying index and columns when copy=True #31119

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 11 commits into from
Jan 21, 2020
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
BUG: updated details in a comment (GH29879)
  • Loading branch information
fujiaxiang committed Jan 19, 2020
commit c5db0ccdba395ccc6ce4e21b09522d4471d32cc8
3 changes: 2 additions & 1 deletion pandas/core/indexes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def _get_combined_index(

# GH 29879
if copy:
# No need for deep copy. Indexes are immutable so they can share underlying data
# No need for deep copy. The underlying data of Indexes are
# considered immutable so they can be shared
index = index.copy(deep=False)

return index
Expand Down
0