Hi,
I am using the following script to download tresury yields.
TESOROS = ['US2YT=RR','US3YT=RR','US5YT=RR','US7YT=RR','US10YT=RR','US30YT=RR']
start_date = "2000-12-12"
end_date = "2024-12-31"
ts_tesoros,e1 = ek.get_data(TESOROS,
["TR.MIDYIELD.date","TR.MIDYIELD"],
{'SDate':start_date,'EDate':end_date,'Frq':'D'})
UST10Y = ts_tesoros.loc[ts_tesoros['Instrument']=='US10YT=RR']
When I look at the DataFrame it seems normal
However, when I look at the column date it also contains some indexed numbers
I only need the Date.
It was working a few days ago, but now has changed.
Anything I can do to solve this?
Thanks