Skip to content

HTML table for the view of Grouped Dataset/GatherBy Dataset in Jupyter Notebook #83

Open
@Kexi002

Description

@Kexi002

Hi,

I found there is no HTML table display for the view Grouped Dataset/GatherBy Dataset, which is generated by groupby() or gatherby(). These views are still displayed in plain text, like:

image

So I think it will be a good idea to add an HTML show function for GroupBy and GatherBy. Since GroupBy and GatherBy do not belong to AbstractDataset, we cannot simply modify the show function of AbstractDataset, but its code could be reused.

It will be easy to fix this issue by passing the view(gds.parent, gds.perm, :) into an AbstractDataset show function's copy, whose summary message is modified. This is my improvement:

image

And it also works well with large Dataset:

image
(omitted rows)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions