Skip to content

How to save a nested dictionary with save_npz #510

@rqx110

Description

@rqx110

If i have a data struct like:

{
   "port1": {
                 "time": ["xxxx", "yyyy"],
                 "data": [0.0, 0.0]
                },
   "port2": {
                 "time": ["xxxx", "yyyy"],
                 "data": [0.0, 0.0]
                },
}

how to save it with save_npz?
can you give same sample codes? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions