Sublime Forum

Table view in output - python & pandas

#1

Hi,
Is it any way to present tabular data (from pandas.DataFrame) in output window? Something like in jupyter notebook tabular/table data are presented in the output cell as table with lines and headers…

Regards
Michal

0 Likes

#2

There’s plenty of ways to print tables using python: https://stackoverflow.com/questions/9535954/printing-lists-as-tabular-data

Though with the output panel there is no way to get the width of the panel like there is in a tty terminal. If you need that I’d suggest using the Terminus package or another terminal emulator.

0 Likes