Adding a NamedTuple to DataFrame row

With DataFrame it will always be type unstable. Use a NamedTuple with STATIC reference to column names (i.e. column names must be explicitly hard-coded in your source code).

1 Like