med ∩ ml

Linking notebooks

There is a little trick I just found about, which I think can be very useful when you split tasks across different notebooks.

Jupyter notebooks keep gaining popularity and use cases, the rapid growth of the tooling ecosystem around it is just one proof (for example voilà or panel).

Most people choose Jupyter when publishing a course or tutorial on Github and that’s great, but when there are a lot of notebooks it can become messy.

I am now working on a project and I’m separating tasks in different notebooks like:


And I found you can link a notebook from another one like you would link to a normal website:

[task foo](../notebooks/02.task2.ipynb)

Even though this is something very simple, I think it can be useful at work or if you are distributing a book as Jupyter notebooks and need to refer to a previous notebook/chapter. This way you are only one click away and don’t need to look for it!

This used to be a box promoting a newsletter, but I think we already have enough newsletters. Everybody wants to get a spot in your mailbox.

Instead of that, subscribing to my RSS feed will be a lot better, and less intrusive in your life.

If you are looking for a newsletter to subscribe to, click here.