MultiIndex __contains__()/in operator throws an IndexError for large multiindices #10645

Closed
iyer opened this Issue Jul 21, 2015 · 1 comment

Comments

Projects
None yet
3 participants

iyer commented Jul 21, 2015

For a small multiindex the in operator works

mi = pd.MultiIndex.from_arrays([range(100),range(100)])
(1000001,0) in mi

For a large multiindex the in operator throws an IndexError

mi = pd.MultiIndex.from_arrays([range(1000000),range(1000000)])
(1000001,0) in mi

@scari scari added a commit to scari/pandas that referenced this issue Jul 27, 2015

@scari scari BUG: #10645 in using MultiIndex.__contains__ f4364a6
Contributor

jreback commented Jul 28, 2015

jreback added this to the Next Major Release milestone Jul 28, 2015

@jreback jreback modified the milestone: 0.17.0, Next Major Release Sep 10, 2015

jreback closed this in #11049 Sep 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment