We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
df = pd.DataFrame({'x': [1,2,6], 'y': [2,2,8], 'z':[-5,0,5]}) df = df.set_index('z')
Then df.index.name is 'z'. After modifying an existing row
df.index.name
'z'
df.loc[5] = {'x': 9, 'y': 99}
it's still fine. But once we add a new index:
df.loc[10] = {'x': 7, 'y': 77}
df.index.name is None.
None
I use Pandas 0.16.0 on Python 3.4.
It might be related to another issue with disappearing index name: #9854
The text was updated successfully, but these errors were encountered:
I'm looking that this one
Sorry, something went wrong.
Ensured that the index gets retained on Frame.apped(). Fixes pandas-d…
391f494
…ev#9857
@jameshiebert I fixed this issue and is pending as PR #9876
closed by #9876
No branches or pull requests
Then
df.index.name
is'z'
. After modifying an existing rowit's still fine. But once we add a new index:
df.index.name
isNone
.I use Pandas 0.16.0 on Python 3.4.
It might be related to another issue with disappearing index name: #9854
The text was updated successfully, but these errors were encountered: