8000 BUG: Fix series rename called with str altering name rather index (GH17407) by huashuai · Pull Request #17654 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: Fix series rename called with str altering name rather index (GH17407) #17654

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 8 commits into from
Sep 30, 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
remove whitespace
  • Loading branch information
huashuai committed Sep 29, 2017
commit 4996e764fb0adbd5c77574eb3cb60f19c0fafba3
2 changes: 1 addition & 1 deletion pandas/tests/series/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ def test_reindex_fill_value(self):
assert_series_equal(result, expected)

def test_rename(self):

# GH 17407
s = Series(range(1, 6), index=pd.Index(range(2, 7), name='IntIndex'))
result = s.rename(str)
Expand Down
0