We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b535b2 commit 74d7bcbCopy full SHA for 74d7bcb
docs/fundamentals/documentarray/access-attributes.md
@@ -87,7 +87,15 @@ da.summary()
87
mime_type ('str',) 2 False
88
```
89
90
-We can see `mime_type` are set. One can also select multiple attributes in one shot:
+We can see `mime_type` are set.
91
+
92
+If you want to set an attribute of all Documents to the same value without looping:
93
94
+```python
95
+da[:, 'mime_type'] = 'hello'
96
+```
97
98
+One can also select multiple attributes in one-shot:
99
100
```python
101
da[:, ['mime_type', 'id']]
0 commit comments