Skip to content

Jupyter notebook pandas table rendering is broken

The Jupyter notebooks containing pandas table outputs are not rendered correctly: table borders have padding (double lines) and look bad, tables with more columns or rows are cut off and impossible to see.

Browser: Firefox 104.0.2 on Ubuntu 22.04, Chrome 103 on Android 12, likely all browsers.

How to reproduce: open any ipynb file on Gitlab containing a pandas dataframe output, for example:

https://gitlab.com/singleronbio/pandas-workshop/-/blob/main/notebooks/2-data_wrangling.ipynb.

current output (very basic HTML, cut off, not scrollable): image

expected output (styling, interactive, scrollable): image