Convert pandas cut operation to a regular string
<p>I get the foll. output from a pandas cut operation:</p>

<pre><code>0        (0, 20]
1        (0, 20]
2        (0, 20]
3        (0, 20]
4        (0, 20]
5        (0, 20]
6        (0, 20]
7        (0, 20]
8        (0, 20]
9        (0, 20]
</code></pre>

<p>How can I convert the (0, 20] to 0 - 20?</p>

<p>I am doing this:</p>

<pre><code>.str.replace('(', '').str.replace(']', '').str.replace(',', ' -')
</code></pre>

<p>Any better approach?</p>