I'm trying to write a dataframe (from zipline pickle) to excel, but so far it's not working as usual (for dataframes). Suggestions would be greatly appreciated!
writer = pd.ExcelWriter('output.xlsx')
backtest_df.to_excel(writer,'sheet1')
writer.save()
With the following error:
KeyError: class 'pandas._libs.tslib.Timestamp'