Python spyder 和 jupyter 有什么区别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/53368253/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference between spyder and jupyter
提问by Amir Boutaghou
hello community of python, i am learner of python for data science field but my problem is that i still didn't understand the difference between spyder and jupyter !
你好 python 社区,我是数据科学领域的 python 学习者,但我的问题是我仍然不明白 spyder 和 jupyter 之间的区别!
would like guys to help me to understand the difference please i will appreciate that
希望大家帮助我了解差异,我会很感激
Best Regard
最良好的问候
回答by user8851623
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.
Jupyter 是一个非常流行的用于数据分析的应用程序。这是一个 IPython 笔记本(“交互式 Python”)。您可以单独运行每个代码块。例如,我可以使用 matplotlib 打印图形。创建一个新的代码块并打印另一个图形。还有一些很酷的函数,比如 %timeit 可以测试你的代码速度。
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.
Spyder 只是 python 的集成开发环境 (IDE),如 atom、visual studio 等。我使用 VS Code,我建议你也安装它。学习和跑步更容易。由于其受欢迎程度,还有大量有用的 YouTube 视频。
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.
我更喜欢使用 jupyter notebook 来分析数据,无论是在 Pandas 数据框还是图中。当我在已经分析过的数据上开发程序或实施新代码时,我会使用像 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!
我希望你的数据科学之旅顺利!要有耐心,记住挣扎是学习的一部分。祝你好运!