Open
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
Persist dataset metadata
Feature Description
df.attrs
is still experimental but would be great if it was written to JSON as metadata alongside the dataframe's content by df.to_json
.
Alternative Solutions
Slightly clunky: Writing metadata to new line in same JSON file as df exported to manually. This limits the read options (e.g. can no longer import the file in NodeJS since invalid JSON).
https://stackoverflow.com/a/33113390
Additional Context
No response