"faster" spyder 或 jupyter notebook 是什么?

What is "faster" spyder or jupyter notebook?

也许这个地方太宽泛了,但我必须处理一个巨大的数据库/dataframe 并进行一些文本处理。数据帧以 csv 格式存储在我的计算机上。

就运行时间而言,使用 spyder 或 jupyter notebook 更快吗?

我主要使用:pandas, nltk

结果只是一个csv文件,我必须将其存储在我的计算机上。

Jupyter 基本上是一个浏览器应用程序,而 spyder 是一个专用的 IDE。当我处理大型数据集时,我从不使用 Jupyter,因为 Spyder 似乎 运行 快得多。真正比较它的唯一方法是 run/time Spyder 和 Jupyter 上的相同脚本几次,但根据我的经验,在计算时间方面,Spyder 总是胜过 Jupyter。

编辑:正如@carlos 在他的评论中提到的那样:"in principle both Spyder and Jupyter use the exact same technology to run your code. On top of that, we have a lot of customizations to improve user experience."

测试时,我注意到 jupyter 总是 运行 慢。我认为这与您的 PC 分配给浏览器和 IDE 的资源数量有关。