Good morning. Newby here.
I hope I can frame the question correctly.
I am trying to set up a python template for plotting various hotel variables one by one vs cancellations to see the impact. The data is in a csv file.
So far for every plot I want to make for a specific variable against cancellations I need to manually define the variable throughout the code. This I realize is a timely excercise.
Instead of manually typing in the variable names each time for each plot, how does one go about setting up the template and then defining the variable once to be used throughout the template?
Then for the next plot define the new variable and run the template again.
Hope my question makes sense.