You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More parameters and usages can be found in the Document-level {ref}`doc-dict`.
325
326
```
326
327
328
+
329
+
## From/to dict
330
+
331
+
332
+
Serializing to/from Python dict is less frequently used for the same reason as `Document.to_dict()`: it is often an intermediate step of serializing to JSON. You can do:
333
+
334
+
```python
335
+
from docarray import DocumentArray, Document
336
+
337
+
da = DocumentArray([Document(text='hello'), Document(text='world')])
0 commit comments