how to get multi-language company name by eikon api
how to get multi-language company name by eikon api
Hello @joneliu1
According to this How to get the Chinese company name? old post, you can use "DSPLY_NMLL" field to get the company name in the local language.
Example code:
rd.get_data( universe=['LSEG.L','7974.T','0001.HK','352820.KS'], fields=['TR.CompanyName','DSPLY_NMLL'] )
Result:
Please note the character decode technical from that old post too.
Hello @joneliu1
You can use the Data Library for Python as follows:
Example Code:
import import refinitiv.data as rd rd.open_session() df = rd.get_data( universe=['IBM.N','TSLA.O','LSEG.L','0001.HK'], fields = ['TR.CompanyName'] ) print(df)
Result:
Please note that the version 2 of the Data Library for Python will be rebranded to LSEG Data Library for Python.
@wasin.w Hi Wasin
I can see "TR.CompanyName" can be displayed in Japanese with Excel formula. Wonder if we can do the same with Eikon API ?
Hello @noboru.maruyama01
I am assuming that it might be based on your OS locale with the Excel formula. This is a result from my machine:
This is a result from the Data Library: