Jupyter notebook with about 600 lines or so suddenly got very laggy this past week. Previously all cells would run instantly, the file is mostly just simple pandas aggregations and column functions.
Now, when I reset kernel and outputs, even just clicking into a cell, not even running it, takes ~6 seconds. The screen freezes up, and goes back to normal after a bit. If I run the cell the same thing happens, even though the cell could just be a simple column renaming.
Any ideas? I do not recall changing anything about my Python or Jupyter installation, same packages and everything from a week ago when it worked fine.
Edit: I should add that I restarted computer several times as well but still same poor performance
I created a new notebook, it runs fine, but after a couple hours it slows down as well, even if memory usage is low (just a small dataframe)