File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ class DictStore:
25
25
Directory-based storage for compressed data using Blosc2.
26
26
Manages arrays in a directory (.b2d) or zip (.b2z) format.
27
27
28
- Supported value types
29
- ---------------------
28
+ Supports the following types:
29
+
30
30
- blosc2.NDArray: n-dimensional arrays. When persisted externally they
31
31
are stored as .b2nd files.
32
32
- blosc2.SChunk: super-chunks. When persisted externally they are stored
@@ -82,6 +82,8 @@ class DictStore:
82
82
>>> dstore.to_b2z() # persist to the zip file; external files are copied in
83
83
>>> print(sorted(dstore.keys()))
84
84
['/dir1/node3', '/dir1/schunk1', '/node1', '/node2']
85
+ >>> print(dstore["/node1"][:]))
86
+ array([1, 2, 3])
85
87
"""
86
88
87
89
def __init__ (
You can’t perform that action at this time.
0 commit comments