I have an odd problem with the iPython notebook. When printing a Pandas Series object the index and data "wraps" to the next line. As you can imagine, it's incredibly difficult to read.<br><br>Here is an example output. I have some random data with a date range index that prints like this...<br>
<br><pre>2012-01-10 <br>-1.453889
2012-01-11 <br>0.354777
2012-01-12 <br>0.720931
Freq: D</pre><br>It should, print like this... <br><pre>2012-01-10 -1.453889
2012-01-11 0.354777
2012-01-12 0.720931
Freq: D</pre><br><br>Using Firebug I found this CSS snippet as the problem. When the rule is enabled the output wraps. Disabling the rule fixes the output.<br><br>
<div class="cssHead focusRow "><span style="font-family:courier new,monospace"><span class="cssSelector editable ">pre, code, kbd, samp</span> {</span></div><div class=" "><div class="cssPropertyListBox "><div class="cssProp focusRow disabledStyle editGroup ">
<span style="font-family:courier new,monospace"><span class=" "> </span><span class="cssPropName editable ">white-space</span><span class="cssColon ">: </span><span class="cssPropValue editable ">pre-wrap</span><span class="cssSemi ">;</span></span></div>
</div></div><div class=" editable insertBefore "><span style="font-family:courier new,monospace">}<br></span><br>I'm using iPython 0.13 on a Mac in Firefox 15.<span style="font-family:courier new,monospace"><br></span></div>