Jupyter notebook display two pandas tables side by side
<p>I have two pandas dataframes and I would like to display them in Jupyter notebook.</p>

<p>Doing something like: </p>

<pre><code>display(df1)
display(df2)
</code></pre>

<p>Shows them one below another:</p>

<p><a href="https://i.stack.imgur.com/e9jdGm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/e9jdGm.png" alt="enter image description here"></a></p>

<p>I would like to have a second dataframe on the right of the first one. There is <a href="https://stackoverflow.com/q/35790922/1090562">a similar question</a>, but it looks like there a person is satisfied either with merging them in one dataframe of showing the difference between them.</p>

<p>This will not work for me. In my case dataframes can represent completely different (non-comparable elements) and the size of them can be different. Thus my main goal is to save space.</p>