This cheatsheet covers the minimal key aspects on how to use "the Numpy Stack". This stack is foundational to any machine learning and data science work done in Python.
The cheat sheet covers:
- Python: the absolute bare minimum you need to know to do something useful.
- Numpy: provides the basic
numpy array
abstraction to work with multi-dimensional arrays in Python. Everything else is built upon this. - Matplotlib: A library for data visualization.
- Pandas: a library for reading, writing and manipulating data.
- SciPy: statistical computations (among many other things).
The work is based on a mixture of different resources. Notably:
- https://www.udemy.com/course/deep-learning-prerequisites-the-numpy-stack-in-python/learn/lecture/19643200#overview
- http://ai.berkeley.edu/tutorial.html
- Running Modes
- Getting help
- Strings
- Data Structures
- If statements
- Functions
- Classes
- Unit Testing
- Debugging
- NP array creation
- Adding elements to an array
- Array access
- Iteration
- Scalar operations
- Element-wise application of standard mathematical functions
- Vector to Vector and Matrix to Matrix element-wise operations
- Vector operations
- Matrix operations
- Generating Data
- Descriptive statistics of arrays
- Numpy array axes and operations along axes
- Sorting
- Searching