This set of tutorials and educational materials is being developed, IT IS NOT INTEGRATED IN THE HTML DOCS AT https://www.numpy.org/devdocs/
The goal of this repository is to provide high-quality resources by the NumPy project, both for self-learning and for teaching classes with. If you're interested in adding your own content, check the Contributing section.
To open a live version of the content, click the launch Binder button above.
To download a local copy of the .ipynb
files, you can either
clone this repository
or navigate to any of the documents listed below and download it individually.
We very much welcome contributions! If you have an idea or proposal for a new tutorial, please open an issue with an outline. After you have decided on a topic and approach, submit your notebook file via a pull request. For more information about GitHub and its workflow, you can see this document.
Don’t worry if English is not your first language, or if you can only come up with a rough draft. Open source is a community effort. Do your best – we’ll help fix issues.
Images and real-life data make text more engaging and powerful, but be sure what you use is appropriately licensed and available. Here again, even a rough idea for artwork can be polished by others.
The choice of Jupyter Notebook in this repo instead of the usual format (reStructuredText, through Sphinx) used in the main NumPy documentation has two reasons:
- Jupyter notebooks are a common format for communicating scientific information.
- rST may present a barrier for some people who might otherwise be very interested in contributing tutorial material.
If you have your own tutorial in the form of a Jupyter notebook (a .ipynb
file) and you'd like
to try it out on the site:
- Add your notebook to the
content/
directory - Update the
environment.yml
file with the dependencies for your tutorial (only if you add new dependencies) - Update this
README.md
to include your new entry - Update the attribution section (below) to credit the original tutorial author.
- The cs231n tutorial is by @jcjohnson. The full tutorial in its original form is linked via [numpy.org][learn].
- The SVD tutorial is by @melissawm. The full tutorial is available via the tutorials page of the official NumPy documentation.
The following links may be useful:
- NumPy Code of Conduct
- Main NumPy documentation
- NumPy documentation team meeting notes
- NEP 44 - Restructuring the NumPy documentation
- Blog post - Documentation as a way to build Community
Note that regular documentation issues for NumPy can be found in the main NumPy
repository (see the Documentation
labels there).