title: PyCharm: How to display all columns of dataframe in 'run' window without wrapping or truncation?
body: <p>The issue I am facing has to do with how I can force the 'Run' window to show all columns of a given pandas dataframe, without fitting it to the size of the window (which happens for me either by truncation of column names, or by not showing all columns). </p>
  
  <p>In other words I need the data to be shown on their intended rows and, if the window view is too small to show all the columns, a horizontal bar should appear (like normally) to allow me to easily traverse the data. </p>
  
  <p><strong>Background:</strong>
  I have processed some data, where I automatically select and store different parts of the data in specific ".h5" files, in table format. This is done using pandas dataframes and the 'to_hdf' function. Then I read it in and get the following: <a href="https://i.stack.imgur.com/xW9M0.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/xW9M0.jpg" alt="view in the &#39;Run&#39; output window"></a></p>
  
  <p>The dataset consists of 35 columns (excluding Time column), with x amount of entries in each of them. For this post, they have been named arbitrarily, to illustrate the issue. </p>
  
  <p>Note that:</p>
  
  <ul>
  <li>Soft-wrap is disabled in <code>File -&gt; Settings -&gt; Editor -&gt; General</code> under 'Soft Wraps'</li>
  <li>I just performed a fresh install of both Python 3.7 and PyCharm Community Edition 2018.3.5 (had some issue with 2019.1 version initially), with some imported PyCharm settings from the export file from PyCharm in my computer back home</li>
  <li>Horizontal scrollbar seems disabled. Does not appear at any point. Which is weird, seeing as my computer back home gives me the horizontal scroll bar</li>
  <li>Since the output in the 'Run' window wraps and truncates according to the size of the window prior to running the script (ie. smaller vs full screen window), the horizontal scrollbar most likely will re-activate once the other effects are removed</li>
  </ul>
  
  <p><strong>I want to accomplish three things:</strong></p>
  
  <ol>
  <li>Show all columns of dataframe while allowing me to scroll through these with a horizontal scroll bar (seems disabled at the moment), which implies:</li>
  <li>No wrapping of column names, see mark (1) and (2) from above image. And no truncation / removal of columns due to size limit of 'Run' window, see mark (3) from the same image. </li>
  <li>Minor task: Currently, the 'Time' column (which is set as row index) prints as only date in this printout, while also hours, minutes and seconds are stored. Hopefully this is automatically fixed once 1. and 2. are fixed (my other tables show full date + hours, etc without problem). </li>
  </ol>
  
  <p><strong>This is what I have tried</strong></p>
  
  <p>I have used the following two lines to improve the printout somewhat: </p>
  
  <pre><code>pd.set_option('display.max_columns', 20)
  pd.set_option('display.width', 2000)
  </code></pre>
  
  <p>This gives a neat output, see below: <a href="https://i.stack.imgur.com/CZOvs.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/CZOvs.jpg" alt="this"></a></p>
  
  <p>However, not all of the 35 columns are shown, see mark (1) / the ". . ." marks. When I increase the allowed column count from 20 to 40, <code>pd.set_option('display.max_columns', 40)</code>, this happens: <a href="https://i.stack.imgur.com/gUCup.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/gUCup.jpg" alt="happens"></a></p>
  
  <p>It seems we are back to square one. Luckily, one of the negative effects are gone, namely the truncation effect, ie. what I think of as the removal of the shown columns. </p>
  
  <p>The wrapping of the columns still occurs, though, such that there are now double the amount of rows while it should be possible to show everything on their own rows while automatically showing a horizontal bar to let the user traverse this data. </p>
  
  <p>I have also looked at this <a href="https://pandas.pydata.org/pandas-docs/stable/user_guide/options.html" rel="noreferrer">link</a> to understand more of the options with the set_option methods of pandas. I found and tried this line, <code>pd.set_option('expand_frame_repr', True)</code>, in addition to the other lines I've used. But it did not change anything in my case. </p>
  
  <p><strong>Any ideas?</strong></p>