Scientific Python Cheat Sheet
Overview
This is an overview of python, numpy, scipy, matplotlib functions that are useful for scientific work. It tries to keep examples as compact as possible.
Chose one of the following layouts:
Or the print version (without pandas until there are enough commands for a third page)
Printing
Printing the last version is a bit complicated so far if you want to have the same layout as on the webpage but possible: You can save the CSS layout as an image in firefox:
- use
shift + f2
to open the web console. - Arange the page as you want to print it. We found that two columns is suitable for printing on A3 pages. You can either resize your browser or use the built-in zoom function for this (e.g. ctrl + mousewheel on firefox).
- The command
screenshot out.png --fullpage
saves the current complete view of the page to the download folder. - Print the long image on several papers or cut it in pieces with the image software of your choice (e.g. gimp or inkscape).
Hopefully this will be simpler in the future !
Contributing
If you wish to contribute, you only need to edit the file sheet.md and push it to the master branch (preferably via pull-request). The website updates automatically.
If, beyond your knowledge of Python, you also master HTML and CSS, you can also contribute to the design of the website. You can submit your ideas via the issues section or directly via pull-request.
Reference:
Authors: A few scientists