posit-dev / positron

Positron, a next-generation data science IDE
Other
1.59k stars 43 forks source link

Ark doesn't format tables in jupyter #3894

Open david-cortes opened 4 days ago

david-cortes commented 4 days ago

Positron Version:

Related to Ark in specific, installed without positron.

Issue

The Ark kernel is meant to work as a jupyter kernel, and can be used in other software that interfaces with jupyter.

It is customary for these kernels to format tables (e.g. data frames) when displaying them in jupyter, which is also done by IRkernel, but when using Ark, data frames are just printed in plain text.

Compare IRkernel on the left and Ark on the right: image

juliasilge commented 4 days ago

Shall we add this to #2264?

DavisVaughan commented 4 days ago

I just added it as an enhancement. I think this should be opt in, I don't think I would necessarily want a tibble printed in this form automatically (because it already has such nice formatting that people have worked hard on), but it seems reasonable as a feature