Skip to content

Better dataframe formatting in REPL #15555

@universalmind303

Description

@universalmind303

Check for existing issues

  • Completed

Describe the feature

When you display a dataframe via the REPL, the formatting is very bad. I tried this with multiple dataframe libraries (polars, daft, pandas). They should use _repr_html_ as is customary with jupyter notebooks, but it looks like instead they are using the __repr__ method.

The __repr__ method would be fine if it was properly aligned as it is in vscode

If applicable, add mockups / screenshots to help present your vision of the feature

Zed

image

VSCode

image

VSCode __repr__

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:replrepl, jupyter, notebooks, etc

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions