For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
22 2 1 0

How do I get good dates

Hi,

Here is my code :

Revenue_yoy, err = ek.get_data(flat_list_PG, ["TR.RevenueMean","TR.RevenueMean.Date"],{'Frq':'FY','Period':'FY1','SDate':'-1','EDate':'3'})
Revenue_yoy = Revenue_yoy.iloc[::-1]
Revenue_qoq, err = ek.get_data(flat_list_PG, ["TR.RevenueMean","TR.RevenueMean.Date"],{'Frq':'FQ','Period':'FQ1','SDate':'-1','EDate':'8'})
Revenue_qoq = Revenue_qoq.iloc[::-1]
Revenue_yoy


As you can see thereafter :

The dates are not right.

For the Dataframe Revenue_qoq it is the same.


Thanks for your help

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
1599076645406.png (78.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
18k 21 12 20

Hi @florent.martini

You can use "TR.RevenueMean.periodenddate" field.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea