<p dir="auto">This came up while trying to de-duplicate some DataFrame vs Series arithmetic logic in core.ops.</p>
<p dir="auto">I often work with pandas using big dataframes and series with multi-index or multi-column and I use the EMACS shell.</p>
<p dir="auto">Often when I write <code class="notranslate">df.index</code> the output is so big that almost make my computer crash (and it is a powerful pc).</p>
<p dir="auto">As when you output a dataframe <code class="notranslate">df</code> the output is truncated to the first and last <code class="notranslate">n</code> columns, also indices and columns should  be truncated when printed to screen.</p>