Importing the library¶
The Refinitiv Data Library for Python is distributed as a Python package named refinitiv-data
. To use it, you must first import it into your script.
The import style recommended by Refinitiv is to import it with the alias of rd
. Here’s how to do it:
import refinitiv.data as rd
Note
This approach follows a convention popularized by the pandas data analysis toolkit. It is intended to make your code quicker to type and easier to read.