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
You can also initialze a StructArray by passing in a NamedTuple, in which case the name (rather than the order) specifies how the input arrays are assigned to fields:
22
+
You can also initialize a StructArray by passing in a NamedTuple, in which case the name (rather than the order) specifies how the input arrays are assigned to fields:
23
23
24
24
```@repl intro
25
25
x = StructArray{Foo}((b = adata, a = bdata)) # initialize a with bdata and vice versa
26
26
```
27
27
28
-
If a struct is not specified, a StructArray with Tuple or NamedTuple elements will be created:
28
+
If a `struct` is not specified, a StructArray with Tuple or NamedTuple elements will be created:
0 commit comments