nodejs-polars icon indicating copy to clipboard operation
nodejs-polars copied to clipboard

better html repr for `DataFrame`

Open oscar6echo opened this issue 6 months ago • 11 comments

This is less a feature request than a question:

  • I cannot reproduce the dataframe display shown in README (and below) - which is the same as in python-polars. Is it still possible ? else why not ?

image

  • the display of a dataframe in a deno-kernel jupyter notebook is fine and similar to that of a python-kernel notebook except (by default):
    • the first and last rowns are displayed (for large df)
    • the shape is displayed on top

image

But for nodejs-polars only the 50 first rows are shown without indication of df shape.
Is it on purpose or a shortcut ?

Suggestion: If would help users if the py/js displays both in print/console.log and jupyter would match.

oscar6echo avatar Jul 29 '24 16:07 oscar6echo