Hi, Below is my code :
etf_esg, err = ek.get-data('0#.'XUTUM', ['TR.TRESGScore','TR.TRESGCScore','TR.EnvironmentPillarScore'])
I know as some companies in XUTUM having already published their score 2022, others haven't yet, some securities have the data begin in 2022 / others in 2021.
I need a python code for me to get both 2021 and 2022 scores in "excel output" so that they will be show in two seperate columns.
Regards,