Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Update Pandas Dataframe from Callback

Hi,

I have 4 variables which the user selects and clicks button. I am able to get these variables in the callback function, make a series, append to the dataframe and update a time series graph with new data.

On the next entry, the data is appended again to the original dataframe and hence I lose data from my 1st update.

The goal is to let the user enter n times, each single time append into the dataframe and update the graph. I am stuck at mainly how to append my dataframe everytime the user clicks the Submit button.

Could you please help how can I go about doing this?

Thanks & Best Regds
Anuj Saboo