What is the difference between Spyder and Jupyter?

Amir Boutaghou picture Amir Boutaghou · Nov 19, 2018 · Viewed 37k times · Source

Python community, I am learning Python for data science, but my problem is that I still don't understand the difference between Spyder and Jupyter!

I would like you guys to help me to understand the difference, please; I would appreciate that.

Best regards.

Answer

user8851623 picture user8851623 · Nov 19, 2018

Here's just a basic summary of the two tools.

Jupyter is a very popular application used for data analysis. It's an IPython notebook ("interactive python"). You can run each block of code separately. For example, I can print a graph using matplotlib. Create a new block of code and print another graph. There are also cool functions like %timeit that test the speed of your code.

Spyder is just an Integrated Development Environment (IDE) for python like atom, visual studio, etc. I use VS Code and I suggest you install it as well. It's easier to learn and get running. There's also tons of helpful youtube videos due to its popularity.

I prefer to use jupyter notebook to analyze data whether it be in pandas dataframes or plots. When I'm developing a program or implementing new code on data I already analyzed, I use a text editor like VS Code.

There's a lot more to it, but I think that's all you need to know for now. As you gain more experience you'll learn more about the tools and find your preferences. If you want to know more, there a ton of information about them online with people who can probably explain this much better than I can.

I hope your journey into data science goes well! Just be patient and remember struggling is part of learning. Good luck!