Reputation: 859
I have a dataset with couple of columns with pre-defined names. I would like to access a column in this dataset by using a variable, which contains the column name in char-type. How should I do the referencing?
I've tried:
dataset.variableName
which doesn't work.
Many thanks for help.
Upvotes: 1
Views: 559