Hi everyone,
I have a question regarding the Date column not coming with get_data_async function calls. When I am making calls like so:
roa_datapoints = await content.fundamental_and_reference.Definition(universe=[f'{ric}'],fields=["TR.F.IncBefDiscOpsExordItems","TR.F.TotCurrAssets","TR.CommonName"],parameters={"SDate": f"{start_year}-01-01", "EDate": f"{today_date_obj.date()}", "Frq" : "Y"}).get_data_async(closure=f'')
The Year Column doesn't come alongside the data. This is shown in the screenshot attached.
As you can see, there isn't a Year Column with the data. This is the same with Balance Sheet datapoints, such as Cash and Cash Equivalents, Total Current Assets, Total Assets, etc. and this is the same for any Revenue historical values that I pull. I need to have a 'Year' column, in order to know which Year each row is from. Any idea how I can be able to get the Year Column alongside my data (pulled with get_data_async)? When I use get_data(), I am able to get it, but I don't want to use synchronous functions for my use case, and I want to stay away from that. When trying to check the code itself for get_data_async(), I didn't see anything that pointed to this issue. I would appreciate if I can have some guidance on this issue.
Thanks!