Python pandas display dataframe as a table with tabs and not spaces
<p>How can I print or display a <code>pandas.DataFrame</code> object like a "real" table? I mean using <strong>only one tab</strong> between columns and <strong>not more spaces</strong>. In IPython Jupyter Notebook I can use the following code to get a "real" table style:</p>

<pre><code>from IPython.core.display import display
display(df.head(50))
</code></pre>

<p>instead of <code>print(df.head(50))</code> which uses spaces.
Is there any same in IPython console using Spyder? I did no find a proper <code>pd.set_option()</code> value...</p>