Skip to content
Advertisement

Tag: nbconvert

Converting .py files to .ipynb

My organisation converts any Jupyter Notebooks (.ipynb files) it makes into python scripts (.py files) for easier management in our repos. I need to convert them back so I can run the notebooks but can’t work out how. I believe they’ve been encoded using the nbconvert package but I couldn’t find a way to convert the files back in the

How is the Tensorflow documentation created? (Especially the Jupyter notebook parts)

Here is an example page of the Tensorflow documentation: https://www.tensorflow.org/probability/examples/A_Tour_of_TensorFlow_Probability Here is the source of that page: Link How is the Jupyter notebook converted into the HTML website? I think the collapsible code blocks and the table of contents on the right look really nice. I want to do the same thing with my Jupyter notebooks (or at least get

nbdev and ‘coroutine’ object is not subscriptable

I recently updated the nbdev version of an “old” project of mine (I made a new conda environment), and now automatic tests in github (the “Run tests” part of the build) are failing with a error per notebook, that seems totally unrelated to my code. There are also a few and None of this happens when I run nbdev_test_nbs locally.

Advertisement