Suppose I have the following data in a data table and suppose Test1, Test2, and Test3 always exist in this table. Is there an easy way to assign the integers in column 2 to variables based on column 1. For example, create a variable called Test2Value and always assign it to Test2’s corresponding value in column 2? Feels like this should be simple but I am struggling.
Variable names cannot be used with variables…so it would be better if you use a dictionary in which you can store the required values in the dictionary with the name you need and can access using the name or the key
dict("Key") = "Value" is how you assign the value to the required dictionary