Skip to content
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

BUG: losing Index/Series names master issue #9862

Closed
8 of 12 tasks
jreback opened this issue Apr 12, 2015 · 9 comments · Fixed by #19849
Closed
8 of 12 tasks

BUG: losing Index/Series names master issue #9862

jreback opened this issue Apr 12, 2015 · 9 comments · Fixed by #19849
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves

Comments

@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves Master Tracker High level tracker for similar issues labels Apr 12, 2015
@jreback jreback added this to the Next Major Release milestone Apr 12, 2015
@ksanghai
Copy link
Contributor

I am working on this issue now.. lets see how far I can get..

@jreback
Copy link
Contributor Author

jreback commented Apr 13, 2015

In [1]: Index(['a'],name='foo').append(Index(['b']))
Out[1]: Index([u'a', u'b'], dtype='object')

In [2]: Index(['a'],name='foo').append(Index(['b'])).name

@sinhrks
Copy link
Member

sinhrks commented Apr 14, 2015

How about making testing.assert_index_equal to check name attribute (maybe optionally) to detect this kind of problems?

@jorisvandenbossche
Copy link
Member

+1 testing.assert_frame_equal does this already, so it seems logical that assert_index_equal can do this as well (and then we can also clean up assert_frame_equal a bit)

@jreback
Copy link
Contributor Author

jreback commented Apr 14, 2015

IIRC the checking names option was turned off as a default quite a while ago, because too many things were breaking; I suspect it would be much closer nowadays. so +1 here as well.

@sinhrks
Copy link
Member

sinhrks commented Apr 18, 2015

Added #9925 and #9926 to the list, which found by changing assert_index_equal to check index names.

@sergeny
Copy link

sergeny commented Apr 20, 2015

Independently stumbled upon the same thing: #9943

hsperr added a commit to hsperr/pandas that referenced this issue Apr 22, 2015
@sinhrks sinhrks changed the title BUG: losing index names master issue BUG: losing Index/Series names master issue Jul 23, 2015
@jreback jreback modified the milestones: Next Major Release, High Level Issue Tracking Sep 24, 2017
@Licht-T
Copy link
Contributor

Licht-T commented Oct 24, 2017

@jreback #8093 seems already fixed.
#8093 (comment)

@Dr-Irv
Copy link
Contributor

Dr-Irv commented Feb 22, 2018

@jreback #11193 is closed by #11193
#3570 was closed since it is for Panel (remark from you is "won't fix")

@TomAugspurger TomAugspurger removed the Master Tracker High level tracker for similar issues label Jul 6, 2018
@TomAugspurger TomAugspurger removed this from the High Level Issue Tracking milestone Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants