Know a great AI tool or AI news source? Submit it to AiByts

jupyter

10 stories

Stories

  • ipynb vs py: What Breaks When a Notebook Becomes a Script (Tested Matrix)

    Twelve notebook constructs, converted with nbconvert and jupytext, each run under python and ipython: which ones crash, which ones exit 0 having silently done nothing, the plain-Python replacement for each, and what a re-run does to your git diff in .ipynb vs .py.

    Runcell Blog13 min read
  • Jupyter to PDF: A Measured Fidelity Benchmark of nbconvert's Three Export Paths

    Nine probe notebooks, three export paths, twenty-seven conversion attempts, and a count of what actually survives into each PDF. The LaTeX route keeps every column of a wide DataFrame and drops four of eight Unicode strings; the browser routes do the reverse, and clip a long source line as well.

    Runcell Blog31 min read
  • ModuleNotFoundError in Jupyter: A Reproduced Kernel Failure Matrix

    The package imports in your terminal and fails in the notebook. Four virtual environments, nine notebook runs, and the one line of jupyter_client source that decides which Python your kernel actually runs — with the audit script that answers it for your machine.

    Runcell Blog26 min read
  • How to Install Jupyter Notebook on macOS

    Install Jupyter Notebook on Mac with a venv, Conda, Homebrew, or JupyterLab Desktop — including the real "externally-managed-environment" error a global pip install hits on Homebrew Python, and the versions a clean venv install gets today.

    Runcell Blog8 min read
  • Optimization of Scientific Code with Cython: Ising Model

    Python is quick and easy to code, but can be slow when doing intensive numerical operations. Translating code to Cython can be helpful, but in most cases requires a bit of trial and error to achieve the optimal result.

    Python Data Science Handbook by Jake VanderPlas Blog6 min read
  • Installing Python Packages from a Jupyter Notebook

    In software, it's said that all abstractions are leaky, and this is true for the Jupyter notebook as it is for any other software. I most often see this manifest itself with the following issue: I installed package X and now I can't import it in the notebook. Help!

    Python Data Science Handbook by Jake VanderPlas Blog21 min read
  • Reproducible Data Analysis in Jupyter

    Jupyter notebooks provide a useful environment for interactive exploration of data. A common question I get, though, is how you can progress from this nonlinear, interactive, trial-and-error style of exploration to a more linear and reproducible analysis based on organized, packaged, and tested…

    Python Data Science Handbook by Jake VanderPlas Blog3 min read

Showing 10 of 10 stories

You're all caught up.

AiByts Weekly Brief

Get the top AI news and tools straight to your inbox every week.

Weekly · AI news

Join 15,000+ AI enthusiasts