MultiIndex can't be indexed with an np.array #15434
Labels
Compat
pandas objects compatability with Numpy or Python functions
Indexing
Related to indexing on series/frames, not to indexes themselves
MultiIndex
Milestone
From #15425
Code Sample, a copy-pastable example if possible
Problem description
The
array
should be accepted as it is accepted for the (non-Multi
)Index
Expected Output
Output of
pd.show_versions()
pandas: 0.19.0+466.g5a8883b
pytest: 3.0.6
pip: 8.1.2
setuptools: 28.0.0
Cython: 0.23.4
numpy: 1.12.0
scipy: 0.18.1
xarray: None
IPython: 5.1.0.dev
sphinx: 1.4.8
patsy: 0.3.0-dev
dateutil: 2.5.3
pytz: 2015.7
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.0
feather: None
matplotlib: 2.0.0rc2
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: 0.999
httplib2: 0.9.1
apiclient: 1.5.2
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_datareader: 0.2.1
The text was updated successfully, but these errors were encountered: