Notebooks are a simple, fun and efficient way to create business reports or play with data science libraries such as scikit-learn or pandas. They are also a great tool for interactive visualization of data. We have been using Jupyter notebooks at Nexedi as part of Wendelin out-of-core Big Data project. Using Jupyter, we could increase the productivity of engineers in charge of producing reports about the structural health of wind turbines in Germany. Using Jupyter, we could also provide a tool to analyse and visualize sales trends of a trading company in China. We are currently integrating Jupyter-Lab as the default IDE of SlapOS Edge Computing software.
With the ongoing development on Iodide, we were able to use some of the ported packages for pyodide to migrate some of the scientific jupyter lectures. There are some differences between how the cell execution works for jupyter and for iodide, thus the migration needed to make some changes in the notebooks. Various ways to migrate notebook are being covered as follows.
Migrating jupyter notebook to iodide by copy pasting the codes from the cell. This is a long process but it ensures the running of cell after every addition, hence one can find out if the cell is going to run or not and the error directly. This also ensures that we can modify the code to make it work in iodide because there are some differences between how the code execution in jupyter and iodide.
On the Iodide official website, they provide a feature to export raw ipynb files and then convert it to jsmd format with some boilerplate cells to tell about the objects the jupyter notebook. The only problem in this is that we don't get the data and there would be changes regarding the libraries being used. Remember, we can only use this method to convert version 4 of Jupyter Notebook.
The link jsmd-and-importing-notebooks clearly mentions:
print('Hello Python World !')