You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's your thoughts on adding .pynb files into the mix?
One difference between using .ipynb compared to .py files for algorithms, is the visual flexibility provided by markdown cells in .ipynb files. Here's an example of a markdown cell accompanying an algorithm.
Benefits of markdown cells include:
Flexible layouting with support for headers
The markdown cells support mathjax, so the inherent maths related to an algorithm can be written simply, and displayed nicely.
There are also other benefits of .ipynb files, related to the possibility of including separate python cells:
It's possible to have python cells that output visualisations
It's possible to have python cells dedicated to parts of an algorithm.
I think all of these benefits contribute to educational scaffolding, which is in the spirit of this repository. I don't suggest replacing the .py files, as scripts themselves are executable and easy to use, but a section dedicated to .ipynb files is a way to provide more than just a script, in case anybody wants to learn more. It's worth pointing out that .ipynb files can include hyperlinks too which can be lead to further resources.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What's your thoughts on adding .pynb files into the mix?
One difference between using .ipynb compared to .py files for algorithms, is the visual flexibility provided by markdown cells in .ipynb files. Here's an example of a markdown cell accompanying an algorithm.
Benefits of markdown cells include:
There are also other benefits of .ipynb files, related to the possibility of including separate python cells:
I think all of these benefits contribute to educational scaffolding, which is in the spirit of this repository. I don't suggest replacing the .py files, as scripts themselves are executable and easy to use, but a section dedicated to .ipynb files is a way to provide more than just a script, in case anybody wants to learn more. It's worth pointing out that .ipynb files can include hyperlinks too which can be lead to further resources.
Just an idea, what are your thoughts on it?
Beta Was this translation helpful? Give feedback.
All reactions