Python function provided by the Eikon package

Hi Team,


Raising this query in client's behalf. Client would like to know if we have Python function provided by the Eikon package like on this link: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.merge.html


Thank you.

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @Jay Ar.Visenio The get_data is a quite powerful python function and a user typically would build the command using the Data Item Browser tool. Please follow thorough this tutorial to learn how to use it.

    df, err = ek.get_data("IBM", ['TR.RevenueActValue(Period=FY0, Scale=6, Curn=USD)', 'TR.RevenueMeanEstimate(Period=FY1, Scale=6, Curn=USD)', 'TR.RevenueMeanEstimate(Period=FY2, Scale=6, Curn=USD)'])


    image

Answers

  • Hi,

    Could you detail what the client wants to do exactly ?

    As Python functions returns result in DataFrame object, function like https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.merge.html can be applied to merge 2 results.

  • Hi Pierre
    I am acually looking for a general description of all functions provided by the Eikon package, such that I can discover what I can do with the eikon python package.
    I used the link of pandas to show which kind of explanation I am acually looking for.

    Thanks

    Jurij

  • @chavalit-jintamalit @pierre.faurel Please see below client's response to the document provided above.


    "The link provided by the forum actually provides an introduction. But the documentation is very basic and does not provide details. For example: The python function get_data has the optional input parameter called “parameters” or I can download different TR field.

    I would be interested which kind of parameters I can actually set and / or which TR fields are available.

    The general issue is that Refinitiv provides a great tool – however as a user it is very difficult to learn more about the functions beside the basic introduction."