Hi,
When I run the following:
test=ek.get_timeseries(['.SPXTR','.TRSPTTEN'],start_date='20211101',end_date='20211123',fields=['CLOSE'],interval='daily',calendar='tradingdays',corax='adjusted',normalize=True)
I get a dataframe with dates converted to epoch.
It happens on line 253 in time_series.py:
df = pd.DataFrame(dict(Date=timestamp_column, Security=symbol_column,
Field=fields_column, Value=values_column),
dtype='float')
This doesn't always happen, but when it does it seems obviously related to forcing everything to float, and then the failure of df.convert_dtypes a couple lines below.
Also there is the future warning about that approach, which notes that if all values in the dataframe can't be converted to float, you'll get a TypeError.
Any suggestions (aside from not using normalize, which is the only reason that code is running) ?