diff options
author | Théo de la Hogue | 2023-06-07 14:34:14 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-06-07 14:34:14 +0200 |
commit | c4552e04e1271a9210a934233beae5be1943d034 (patch) | |
tree | a44041e544bc700976237bfea9058ec06f9a2904 /docs/user_guide/timestamped_data/saving_and_loading.md | |
parent | bd9cd27c9d44c072164f564ffffeb22e37106b89 (diff) | |
download | argaze-c4552e04e1271a9210a934233beae5be1943d034.zip argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.gz argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.bz2 argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.xz |
Writing User guide and use cases section.
Diffstat (limited to 'docs/user_guide/timestamped_data/saving_and_loading.md')
-rw-r--r-- | docs/user_guide/timestamped_data/saving_and_loading.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/user_guide/timestamped_data/saving_and_loading.md b/docs/user_guide/timestamped_data/saving_and_loading.md new file mode 100644 index 0000000..d3f2b9c --- /dev/null +++ b/docs/user_guide/timestamped_data/saving_and_loading.md @@ -0,0 +1,14 @@ +Saving and loading +================== + +[TimeStampedBuffer](/argaze/#argaze.DataStructures.TimeStampedBuffer) instance can be saved as and loaded from JSON file format. + +```python + +# Save +ts_data.to_json('./data.json') + +# Load +ts_data = DataStructures.TimeStampedBuffer.from_json('./data.json') + +``` |