<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<p dir="auto">I have not found an easy way to access a column of a multi index by name. Consider the following code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
df = pd.DataFrame([[1,1,10,200],
                   [1,2,11,201],
                   [1,3,12,202],
                   [2,1,13,210],
                   [2,2,14,230]],
                  columns=list('ABCD')).set_index(['A','B'])
ii = df.index
"><pre class="notranslate"><code class="notranslate">import pandas as pd
df = pd.DataFrame([[1,1,10,200],
                   [1,2,11,201],
                   [1,3,12,202],
                   [2,1,13,210],
                   [2,2,14,230]],
                  columns=list('ABCD')).set_index(['A','B'])
ii = df.index

</code></pre></div>
<p dir="auto">To access the values of column B i can e.g. do:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.reset_index('B').B.tolist()"><pre class="notranslate"><code class="notranslate">df.reset_index('B').B.tolist()
</code></pre></div>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[v[1] for v in ii.tolist()]"><pre class="notranslate"><code class="notranslate">[v[1] for v in ii.tolist()]
</code></pre></div>
<p dir="auto">Both of there are somewhat cumbersome What I'm proposing is to add similar shorcut access to a multiindex just like a dataframe. E.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ii.B"><pre class="notranslate"><code class="notranslate">ii.B
</code></pre></div>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ii['B']"><pre class="notranslate"><code class="notranslate">ii['B']
</code></pre></div>
<p dir="auto">that would return the same list as in the two examples above.</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<p dir="auto">0.18.1</p>
<p dir="auto">Hi Wes,<br>
I'm trying to read in a csv file with few header lines at the beginning of the file starting w/ a '#'. I tried to use skiprows specifying a list of the first n rows to skip  as [0,1,2,3,..,n] but I keep getting Index has duplicates ['#'] error.  Is this a bug or I'm doing something wrong?  Also, will this be the best place to post such issues?<br>
I'm using pandas v 0.6.0 with python 2.7.2<br>
Thanks for the great work you are doing w/ pandas. I'm finding it very useful and saves me a lot of time analyzing time series data.</p>
<p dir="auto">-Solomon</p>