When downloading time-series data for multiple instruments using Datastream Web Serive in Python I get column names which contain the ticker (in this case ISIN) and field name (in this case P).
Whould it be possible to define similar to the the Datastream Add-in in Excel what the column header should be?
Thanks for your help.
ISIN is not a time series datatype. If you perform this within a snapshot request you can use the datatype ISIN
Please feel free to email directly james.bright@refinitiv if you would like to set up a call to discuss this in more detail.
You can apply headers within Python. There are some examples here
Please find attached the output of the following request:
ds.get_data(tickers=['@AAPL','@FB'], fields=['DY'], start='-1Y', end='-0D', freq='D')
As you can see the header contains the ticker and the field name (
time-series-request.jpg). Is there any possiblity to specify what kind of header type I want (e.g., just the ISIN)?