Skip to content

BUG: Segfault on isnull(MultiIndex) #5123

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

Closed
TomAugspurger opened this issue Oct 6, 2013 · 4 comments · Fixed by #5125
Closed

BUG: Segfault on isnull(MultiIndex) #5123

TomAugspurger opened this issue Oct 6, 2013 · 4 comments · Fixed by #5125
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves
Milestone

Comments

@TomAugspurger
Copy link
Contributor

In [1]: from pandas import *

In [2]: idx = MultiIndex.from_tuples([(0, 'a'), (1, 'b'), (2, 'c')])

In [3]: pd.isnull(idx)
Segmentation fault: 11
(pandas-dev)dhcp80fff527:pandas tom$ 

This is on latest master ('0.12.0-757-g69b67f3'). Numpy 1.7.1.

@TomAugspurger
Copy link
Contributor Author

FWIW, I'm not sure what I would expect this to return. But probably not a segfault :)

@jtratner
Copy link
Contributor

jtratner commented Oct 6, 2013

I'm pretty sure I can fix it right now to not segfault - not really sure what it should return though.

@jtratner
Copy link
Contributor

jtratner commented Oct 6, 2013

@TomAugspurger you want to check what it does on 0.11 or 0.12?

@TomAugspurger
Copy link
Contributor Author

I'm having trouble building on the older versions. I'll try later on a fresh virtualenv.

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.

2 participants