How about new feature of `:auto` symbol of `DataFrame`?

Functions don’t have access to the names of input variables. There could be a macro to do this, though.

(The reason nilshg’s suggestion works is that (; x ) is interpreted as (; x=x ), so the tuple stores the variable name)

2 Likes