This is exactly what I state:
- the
(s=1,id=1,a=copy(df[1,:]),r=missing, m=missing)named tuple is always expanded to multiple columns as it is top-level (not wrapped in anything); - the
copy(df[1,:])named tuple is not expanded and treated as a single column because it is wrapped (in this case in another named tuple)