Dcc.store is stripping my datetime index out of the dictionary

Hello @techienomad,

Welcome to the community!

I normally do df.to_dic(‘records’) when sending data to dcc.Stores or tables in the layout. Have you tried this?

———
To convert it back, all you have to do is df = pd.DataFrame(data) where data is the dcc.Store.

If you are having an issue and the index for the dataframe really is the time, then when you send it, you need to do df.reset_index().to_dict(‘records’) this will put the time into its own column, index.