Skip to content

Unable to restore pivot following earlier Save #10

@bytesemantics

Description

@bytesemantics

Hi

I'm looking for a way to save existing pivot table definitions that users create - to store those definitions and then restore at a later date.

I have persisted the pivotui.table.options dict to a jsonfile.
However upon read of the json file back to dict - I am unable to re-create the pivot state.
( I iterate across the dict.keys() and call pivotui.table.options.__setattr(key, value)).

When the widget is rendered - the original pivot state is not recreated. (I am using the same dataframe - but a new pivotui widget instance).

Is some other pivot state that I also need to persist /load ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions