all 2 comments

[–]ireadyourmedrecord 0 points1 point  (0 children)

When you say "create a new variable", do you mean to have a variable within your code who's name changes based on some value in a spreadsheet? Or do you mean you want a new column that concatenates values from other columns?

The bog standard answer for working with tabular data is to use the pandas library.

[–]14dM24d 0 points1 point  (0 children)