I have a data table that I need to add values to. Essentially, I have a DT like this:
ID, City, State
AAA, LA, CA
BBB, NYC, NY
CCC, SD, CA
What I need to do is generate a value based on other variables, and add those values as a fourth column to the datatable. I’m assuming I create a new column, but then I don’t know how to append the values to their specific rows.
Any help is greatly appreciated!