posit-dev / positron

Positron, a next-generation data science IDE
Other
2.42k stars 73 forks source link

Python: Provide a more useful summary for DataFrames in the Environment pane #1280

Open seeM opened 1 year ago

seeM commented 1 year ago

We currently see, e.g:

[617 rows x 6 columns] pandas.core.frame.DataFrame

It might be a nice quick win to provide a more useful summary in place of that, or at the very least, to display pandas.DataFrame instead of pandas.core.frameDataFrame.

Somewhat related to https://github.com/posit-dev/positron/issues/968 although that discusses dataframe columns.

petetronic commented 1 year ago

Note that we have some design discussions that need to be had first before we tackle 968, as we have some changes in mind for the environment pane, including supporting multi-line summaries.

seeM commented 1 year ago

Right. Might be worth waiting on this until we support multi-line summaries