How to increase the font size/ better render Pandas dataframes in Jupyter Notebooks opened in VS Code?

Viewed 361

Is there a way to change how Pandas dataframes are rendered in output cells of Jupyter Notebooks opened in VS Code? By default, the font of the dataframe output is small, regardless of my VS code settings (see 1). In addition, I'd like for the dateframes to render more like the default rendering in native Jupyter notebook opened in a browser (see 2). Does anyone know how to make VS code change the dataframe rendering. Is there something I need to change in settings?

  1. Notebook in VS Code: VS Code

  2. Notebook in Chrome: Jupyter in Chrome

  3. Edit: Using print(df) only increases the font size to match my font settings, but doesn't change the appearance.

enter image description here

1 Answers
Related