df /= 2
s = '<script type="text/Javascript">'
s += "win.document.body.innerHTML = '" + df.to_html().replace('\n', '\\'
    ) + "';"
s += '</script>'
HTML(s)
Pop-out / expand jupyter cell to new browser window