KatrinaKing
KatrinaKing

Reputation: 83

close Google Chrome accidentally and variables in jupyter notebook are missed

I accidentally closed Google Chrome while running jupyter notebook, and when I restart jupyter notebook again, the variables I got from my previous run are gone, what should I do?

Upvotes: 0

Views: 294

Answers (1)

thehand0
thehand0

Reputation: 1163

Unfortunately the variables are not saved when you close instances of Jupyter notebook. They are gone. The code is saved automatically every now and then (or manually when you do it yourself). But if that hasn't happened in a while, you'll need to rerun the code to re-generate the variables.

Upvotes: 1

Related Questions