printing list of categories as a column
<p>I am taking example from pandas documentation. Let us say I have a series after reading an excel file</p>

<pre><code>import pandas as pd
s = pd.Series(["a","b","c","a"], dtype="category")
</code></pre>

<p>I know I can get different categories by</p>

<pre><code>scat=s.cat.categories
print scat
</code></pre>

<p>For which I get</p>

<pre><code>Index([u'a', u'b', u'c'], dtype='object')
</code></pre>

<p>I was wondering what is a good way to make this list appear as a column. Something like </p>

<pre><code>a
b
c
</code></pre>

<p>I could get rid of <code>u'</code> by doing <code>np.asarray</code> but still do not get the format I need. </p>