quick question. Is there a way preserve a pandas dataframe while using SessionState?
I copyed the file (“sessionState.py”) into my project and load it.
However, if I do an update for one row of the dataframe, the previous values get lost.
state = SessionState.get(df=pd.DataFrame(), index =0)
state.df.at[state.index, 'Added Values'] = 1
state.index += 1
Any ideas why this is and how to solve it?
Thanks in advance.