I am using the Papermill module, but having issues with converting the resulting orderedDictionary into a dataframe. I hope this is an issue relevant and suitable for the Datalore-forum.
The dictionary looks like this:
OrderedDict([('LSTM_execution_epochs2_batch64',
Scraps([('y_pred',
Scrap(name='y_pred', data= y_pred
Date
2020-07-03 49.142918
2020-07-06 49.710022
2020-07-07 50.376495
2020-07-08 51.018242
2020-07-09 51.566681
... ...
2022-09-27 74.556389
2022-09-28 74.427567
2022-09-29 73.876564
2022-09-30 73.245224
2022-10-03 72.890930
[569 rows x 1 columns], encoder='pandas', display=None))])),
('LSTM_execution_epochs3_batch32',
Scraps([('y_pred',
Scrap(name='y_pred', data= y_pred
Date
2020-07-03 50.276623
2020-07-06 50.820618
...
The aim is to have the first column including the Date (the index), the second column with ‘LSTM_execution_epochs2_batch64’ data, and the third column with ‘LSTM_execution_epochs3_batch32’.
In advance, thank you for the assistance.
Best wishes
Glenn