How do I properly run script on Jupyter Notebook without errors?

14 Replies, 1651 Views

Hey! Running script on jupyter notebook can be a bit finicky, but here’s a quick tip: always restart the kernel before running your script if you’ve made changes to external files or libraries. It helps avoid weird errors.

Also, if the kernel keeps dying, it might be a memory issue. Try breaking your script into smaller parts or using `del` to clear unused variables.

For tutorials, I recommend [DataCamp’s Jupyter Notebook course](https://www.datacamp.com/). It’s beginner-friendly and covers a lot of common pitfalls.

Messages In This Thread



Users browsing this thread: 1 Guest(s)