TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What happens if you have too many jupyter notebooks?

4 pointsby tvorogmeover 7 years ago
These days there is a tendency in data analysis to use Jupyter Notebooks. But what happens if you have too many jupyter notebooks? For example, there are more than a hundred.<p>Actually, you start creating some modules. However, it is less convenient to work with them compared to what was before. It happens that you should code in web interface, somewhere in similar to the notepad++ form or you should change your IDLE.<p>Personally, I work in Pycharm and so far I couldn&#x27;t assess remote interpreter or VCS. It is because pickle files or word2vec weighs too much (3gb+) and so I don&#x27;t want to download&#x2F;upload them. Also Jupyter is&#x27;t cool in pycharm.<p>Do you have better practices in your companies? How to correctly adjust IDLE? Do you know about any possible substitution for the IPython notebook in the world of data analysis?

1 comment

westurnerover 7 years ago
&gt; what happens if you have too many jupyter notebooks? For example, there are more than a hundred.<p>Like anything else, Jupyter Notebook is limited by the CPU and RAM of the system hosting the Tornado server and Jupyter kernels.<p>At 100 notebooks (or even just one), it may be a good time to factor common routines into a packaged module with tests and documentation.<p>It&#x27;s actually possible (though inefficient) to import code from Jupyter notebooks with ipython&#x2F;ipynb (pypi:ipynb): <a href="https:&#x2F;&#x2F;github.com&#x2F;ipython&#x2F;ipynb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ipython&#x2F;ipynb</a> ( <a href="https:&#x2F;&#x2F;jupyter-notebook.readthedocs.io&#x2F;en&#x2F;stable&#x2F;examples&#x2F;Notebook&#x2F;Importing%20Notebooks.html" rel="nofollow">https:&#x2F;&#x2F;jupyter-notebook.readthedocs.io&#x2F;en&#x2F;stable&#x2F;examples&#x2F;N...</a> )<p>&gt; Actually, you start creating some modules. However, it is less convenient to work with them compared to what was before. It happens that you should code in web interface, somewhere in similar to the notepad++ form or you should change your IDLE.<p>The Spyder IDE has support for .ipynb notebooks converted to .py (which have the IPython prompt markers in them). Spyder can connect an interpreter prompt to a running IPython&#x2F;Jupyter kennel. There&#x27;s also a Spyder plugin for Jupyter Notebook: <a href="https:&#x2F;&#x2F;github.com&#x2F;spyder-ide&#x2F;spyder-notebook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;spyder-ide&#x2F;spyder-notebook</a><p>&gt; Personally, I work in Pycharm and so far I couldn&#x27;t assess remote interpreter or VCS. It is because pickle files or word2vec weighs too much (3gb+) and so I don&#x27;t want to download&#x2F;upload them.<p>Remote data access times can be made faster by increasing the space efficiency of the storage format, increasing the bandwidth of the connection, moving the data to the code, or moving the code to the data.<p>&gt; Do you have better practices in your companies?<p>There are a number of [Reproducible] Data Science cookiecutter templates which have a directory for notebooks, module packaging, and Sphinx docs: <a href="https:&#x2F;&#x2F;cookiecutter.readthedocs.io&#x2F;en&#x2F;latest&#x2F;readme.html#data-science" rel="nofollow">https:&#x2F;&#x2F;cookiecutter.readthedocs.io&#x2F;en&#x2F;latest&#x2F;readme.html#da...</a><p>Refactoring increases testability and code reuse.<p>&gt; How to correctly adjust IDLE?<p>I don&#x27;t think I understand the question?<p>&quot;Configuring IPython&quot; <a href="https:&#x2F;&#x2F;ipython.readthedocs.io&#x2F;en&#x2F;stable&#x2F;config&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;ipython.readthedocs.io&#x2F;en&#x2F;stable&#x2F;config&#x2F;index.html</a><p>Jupyter &gt; &quot;Installation, Configuration, and Usage&quot; <a href="https:&#x2F;&#x2F;jupyter.readthedocs.io&#x2F;en&#x2F;latest&#x2F;projects&#x2F;content-projects.html#" rel="nofollow">https:&#x2F;&#x2F;jupyter.readthedocs.io&#x2F;en&#x2F;latest&#x2F;projects&#x2F;content-pr...</a><p>&gt; Do you know about any possible substitution for the IPython notebook in the world of data analysis?<p>From <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Notebook_interface" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Notebook_interface</a> :<p>&gt; &gt; &quot;Examples of the notebook interface include the Mathematica notebook, Maple worksheet, MATLAB notebook, IPython&#x2F;Jupyter, R Markdown, Apache Zeppelin, Apache Spark Notebook, and the Databricks cloud.&quot;<p>There are lots of Jupyter kernels for different tools and languages (over 100; including for other &#x27;notebook interfaces&#x27;): <a href="https:&#x2F;&#x2F;github.com&#x2F;jupyter&#x2F;jupyter&#x2F;wiki&#x2F;Jupyter-kernels" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jupyter&#x2F;jupyter&#x2F;wiki&#x2F;Jupyter-kernels</a><p>And there are lots of Jupyter integrations and extensions: <a href="https:&#x2F;&#x2F;github.com&#x2F;quobit&#x2F;awesome-python-in-education&#x2F;blob&#x2F;master&#x2F;README.md#jupyter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quobit&#x2F;awesome-python-in-education&#x2F;blob&#x2F;m...</a>