After reinstalling anaconda I started getting error in this code:
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
PS: ek.get_data works fine
I assume that you are using eikon==1.1.5. I got the same error when using 1.1.5.
You can downgrade to eikon==1.1.2 to avoid this issue.
I submitted a ticket no. 09107507 on your behalf.
The support team will be reaching out to you.
I tested the API call on 1.1.4(released on 18th Aug 2020) and 1.1.5(released on 20th Aug 2020) versions.
The problem only happens with the 1.1.5 version.
Tying to fetch the Standard financial information via Eikon python API, what will be the TR field name for "PeriodEndDate" compared to the XML report(Period PeriodEndDate="2015-12-31" PeriodType="Annual").
Hi, the python API keeps raising this error in some sort of random fashion. It doesn't seem related with my code, and after doing the same request after few seconds I get the data I need. Why is this error raised?