New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Datasets read and write methods #2631
Conversation
datasets.to_yaml() -> datasets.write() datasets.from_yaml() -> datasets.read()
07428ce
to
c6fc2ee
Compare
Probably for consistency, we should call What this will achieve is that variable names are expanded, i.e. we can use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@QRemy - Thank you!
Changed title to "Add Datasets read and write methods" which I think will be more useful for users to see in the changelog. I'm merging this now. Obviously we don't use this enough in the docs. @AtreyeeS - Please try to use it in the first and second analysis tutorial and your benchmark scripts, and report if you find any issues. |
Change names of datasets serialisation methods
datasets.to_yaml() -> datasets.write()
datasets.from_yaml() -> datasets.read()