Extract field from the elements of a column in a DataFrame

You need ^(:a) to tell @transform to treat that :a as a Symbol and not a vector in the DataFrame. See the docs here.

1 Like