diff options
author | Théo de la Hogue | 2023-09-27 23:08:38 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-09-27 23:08:38 +0200 |
commit | 2d59cfc56590ed356a30d28cc52c00b533ab7a9e (patch) | |
tree | d5e94d4d99f97f1d1c2c2833feb8c9c11c23cbf1 /docs/user_guide/timestamped_data/ordered_dictionary.md | |
parent | 66b84b019fe760a2cb9901a9f17b2d202d935ba4 (diff) | |
download | argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.zip argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.gz argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.bz2 argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.xz |
Removing hidden sections and chapters.
Diffstat (limited to 'docs/user_guide/timestamped_data/ordered_dictionary.md')
-rw-r--r-- | docs/user_guide/timestamped_data/ordered_dictionary.md | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/user_guide/timestamped_data/ordered_dictionary.md b/docs/user_guide/timestamped_data/ordered_dictionary.md deleted file mode 100644 index 64dd899..0000000 --- a/docs/user_guide/timestamped_data/ordered_dictionary.md +++ /dev/null @@ -1,19 +0,0 @@ -Ordered dictionary -================== - -[TimeStampedBuffer](../../argaze.md/#argaze.DataStructures.TimeStampedBuffer) class inherits from [OrderedDict](https://docs.python.org/3/library/collections.html#collections.OrderedDict) as data are de facto ordered by time. - -Any data type can be stored using int or float keys as timestamp. - -```python -from argaze import DataStructures - -# Create a timestamped data buffer -ts_data = DataStructures.TimeStampedBuffer() - -# Store any data type using numeric keys -ts_data[0] = 123 -ts_data[0.1] = "message" -ts_data[0.23] = {"key": value} -... -``` |