There is currently a question in the python tag which asks as the main question for a review of an (externally linked) Jupyter notebook. In order to not be off-topic the OP also included the most relevant function in the question (not sure if this is enough, but let's leave that aside for now).
This leads me to ask if there is a way for us to meaningfully review Jupyter notebooks?
Some thoughts:
- Jupyter notebooks add additional code formatting concerns/opportunities (there are separate cells and you can embed code output, images and markdown). As such there are additional things to be careful of if you want to create a maintainable Jupyter notebook, although the normal Python best-practices are still valid.
- Being an external link there is the obvious problem of link rot. Could this be avoided by somehow including the whole notebook in the post? If yes, how would you best keep its structure intact?
I could see just saying the OP should convert the notebook into a Python file (such an export is possible in the interface) and post that, but then all the advice specific to Jupyter notebooks (like use headings, add markdown descriptions of what you are doing, etc) becomes obsolete.
What are your opinions?