File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ The package was largely inspired by the `Columns` type in [IndexedTables](https:
88
99## Collection and initialization  
1010
11- One can create a ` StructArray `  by providing the ` struct `  type and a ` tuple `  or ` NamedTuple `  of field arrays:
11+ One can create a ` StructArray `  by providing the ` struct `  type and a ` Tuple `  or ` NamedTuple `  of field arrays:
1212``` @repl  intro
1313using StructArrays 
1414struct Foo{T} 
@@ -25,7 +25,7 @@ You can also initialize a `StructArray` by passing in a `NamedTuple`, in which c
2525x = Array{Foo}((b = adata, a = bdata))    # initialize a with bdata and vice versa 
2626``` 
2727
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:
2929``` @repl  intro
3030x = StructArray((adata, bdata)) 
3131x = StructArray((a = adata, b = bdata)) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments