Show output of .html file in Jupyter notebooks
<p>I can create an html file using this code:</p>

<pre><code>with open(file_loc+'file.html', 'w') as html:
    html.write(s.set_table_attributes("border=1").render())
</code></pre>

<p>How can I show the output in Jupyter Notebooks without creating the file? </p>

<p>If I simply try to render it in Jupyter (shown below) then it shows the html code instead of displaying the desired output that I would see in my browser:</p>

<pre><code>from IPython.core.display import display, HTML
s.set_table_attributes("border=1").render()
</code></pre>