{"action":"opened","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/12518","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/12518/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/12518/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/12518/events","html_url":"https://github.com/pydata/pandas/issues/12518","id":138111470,"number":12518,"title":"read_csv not respecting MultiIndex names","user":{"login":"toobaz","id":1224492,"avatar_url":"https://avatars.githubusercontent.com/u/1224492?v=3","gravatar_id":"","url":"https://api.github.com/users/toobaz","html_url":"https://github.com/toobaz","followers_url":"https://api.github.com/users/toobaz/followers","following_url":"https://api.github.com/users/toobaz/following{/other_user}","gists_url":"https://api.github.com/users/toobaz/gists{/gist_id}","starred_url":"https://api.github.com/users/toobaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toobaz/subscriptions","organizations_url":"https://api.github.com/users/toobaz/orgs","repos_url":"https://api.github.com/users/toobaz/repos","events_url":"https://api.github.com/users/toobaz/events{/privacy}","received_events_url":"https://api.github.com/users/toobaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T08:33:20Z","updated_at":"2016-03-03T08:33:20Z","closed_at":null,"body":"#### Code Sample, a copy-pastable example if possible\r\n\r\n    In [2]: pd.read_csv('/tmp/csv.csv', header=None)\r\n    Out[2]: \r\n       0  1  2\r\n    0  0  2  2\r\n    1  1  2  2\r\n    2  2  2  2\r\n\r\n    In [3]: mi = pd.MultiIndex.from_tuples([(1,2), (3,4)], names=['l1', 'l2'])\r\n\r\n    In [4]: pd.read_csv('/tmp/csv.csv', header=None, names=mi)\r\n    Out[4]: \r\n       1  3\r\n       2  4\r\n    0  2  2\r\n    1  2  2\r\n    2  2  2\r\n\r\n#### Expected Output\r\n\r\n    In [4]: pd.read_csv('/tmp/csv.csv', header=None, names=mi)\r\n    Out[4]: \r\n    l1  1  3\r\n    l2  2  4\r\n    0   2  2\r\n    1   2  2\r\n    2   2  2\r\n\r\nMight be worth fixing together with https://github.com/pydata/pandas/issues/7589 (just a rough guess, didn't look at the code)\r\n\r\n#### output of ``pd.show_versions()``\r\n\r\n    In [8]: pd.show_versions()\r\n\r\n    INSTALLED VERSIONS\r\n    ------------------\r\n    commit: eba78032e927d2680850c88190f3bafe18cac6ba\r\n    python: 3.4.3.final.0\r\n    python-bits: 64\r\n    OS: Linux\r\n    OS-release: 4.3.0-1-amd64\r\n    machine: x86_64\r\n    processor: \r\n    byteorder: little\r\n    LC_ALL: None\r\n    LANG: it_IT.utf8\r\n\r\n    pandas: 0.18.0rc1+66.geba7803\r\n    nose: 1.3.6\r\n    pip: 1.5.6\r\n    setuptools: 20.1.1\r\n    Cython: 0.23.2\r\n    numpy: 1.10.0.post2\r\n    scipy: 0.16.0\r\n    statsmodels: 0.8.0.dev0+755fa81\r\n    xarray: None\r\n    IPython: 4.1.1\r\n    sphinx: 1.3.1\r\n    patsy: 0.3.0-dev\r\n    dateutil: 2.4.2\r\n    pytz: 2015.6\r\n    blosc: None\r\n    bottleneck: None\r\n    tables: 3.2.2\r\n    numexpr: 2.4.3\r\n    matplotlib: 1.5.dev1\r\n    openpyxl: None\r\n    xlrd: 0.9.4\r\n    xlwt: None\r\n    xlsxwriter: 0.7.3\r\n    lxml: None\r\n    bs4: 4.4.0\r\n    html5lib: 0.999\r\n    httplib2: 0.9.1\r\n    apiclient: None\r\n    sqlalchemy: 1.0.11\r\n    pymysql: None\r\n    psycopg2: None\r\n    jinja2: 2.8\r\n"}}