How to programatically construct a ComponentArray or NamedTuple?

Convert any table (eg DataFrame) to a namedtuple-of-arrays: Tables.columntable(...); to an array-of-namedtuples: Tables.rowtable(...). These may be more helpful for your specific usecase.

4 Likes