0

I want to export a notebook to html to share with colleagues, and I would like to display a full (large) dataframe.

My first try was to set:

pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)

However, the output is too large and it is visually unappealing (and also breaks my custom HTML template). Ideally, I would like to:

  • Display the full df contained within a limited width and height
  • Have 2 scrollbars (vertical and horizontal) to navigate the whole table
  • Avoid "hacky" workarounds and keep it simple, with vscode/pandas/jupyter config
Pepv
  • 76
  • 15

0 Answers0