Nested list multi index (#14467)
State: closed

- [ ] closes #14467 
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry


Labels:
name: DataFrame
description: DataFrame data structure
name: Constructors
description: Series/DataFrame/Index/pd.array Constructors

Comments:
Hello @harri471! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



* In the file [`pandas/tests/indexes/multi/test_nested_list_data.py`](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py):

> [Line 12:1](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L12): [E302](https://duckduckgo.com/?q=pep8%20E302) expected 2 blank lines, found 1
> [Line 14:3](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L14): [E111](https://duckduckgo.com/?q=pep8%20E111) indentation is not a multiple of four
> [Line 17:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L17): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 17:43](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L17): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 18:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L18): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 18:46](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L18): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 21:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L21): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 21:43](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L21): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 22:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L22): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 22:46](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L22): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 25:3](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L25): [E111](https://duckduckgo.com/?q=pep8%20E111) indentation is not a multiple of four
> [Line 27:50](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L27): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 29:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L29): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 29:43](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L29): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 30:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L30): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 33:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L33): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 33:43](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L33): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 34:23](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L34): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 34:46](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L34): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 37:3](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L37): [E111](https://duckduckgo.com/?q=pep8%20E111) indentation is not a multiple of four
> [Line 40:7](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L40): [E111](https://duckduckgo.com/?q=pep8%20E111) indentation is not a multiple of four
> [Line 41:25](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L41): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 41:45](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L41): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 42:25](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L42): [E128](https://duckduckgo.com/?q=pep8%20E128) continuation line under-indented for visual indent
> [Line 42:48](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L42): [E226](https://duckduckgo.com/?q=pep8%20E226) missing whitespace around arithmetic operator
> [Line 42:62](https://github.com/pandas-dev/pandas/blob/824601f529c289bc0730851c65c3abd111f71606/pandas/tests/indexes/multi/test_nested_list_data.py#L42): [W292](https://duckduckgo.com/?q=pep8%20W292) no newline at end of file



##### Comment last updated at 2020-03-20 19:22:20 UTC
@harri471 do you have time do merge in master and address the review comments?
closing as stale. pls ping if you want to continue / open a new PR.