Hello I have a dataset with only 1 row (but will change depending on other inputs) and I want to use it to update a global variable. I know I can use a python function in a scenario for this but can't quite work it out.
I have a dataset (my_dataset) that looks like this
I want to extract the 2021 figure and save it as a variable.
I know I can use code in a scenario along these lines
from dataiku.scenario import Scenario scenario = Scenario()