An in-depth guide to mastering NumPy, covering fundamental to advanced array operations for data science and numerical computing.
- Array Basics
- Arithmetic Operations
- Comparative Operations
- Index & Slice
- Axes
- Array Manipulations
- NdArray properties & methods
- Array Creation
- Mathematics
- Statistics
- Sort, Search & Count
- Logic
- Set
- Linear Algebra
- Structured Array
- Input/Output
- Random Generator
- Fourier Transform
- Efficient Computing
- Miscellaneous
- Looking Ahead
- π¨βπ» Programming Fundamentals
- Proficiency in Python (data types, control structures, functions, classes, etc.).
- My Python Workshop: github.com/mr-pylin/python-workshop
- Proficiency in Python (data types, control structures, functions, classes, etc.).
- π£ Mathematics for Machine Learning
- π² Linear Algebra: Vectors, matrices, matrix operations.
- Linear Algebra Review and Reference written by Zico Kolter.
- Notes on Linear Algebra written by Peter J. Cameron.
- MATH 233 - Linear Algebra I Lecture Notes written by Cesar O. Aguilar.
- π² Probability & Statistics: Probability distributions, mean/variance, etc.
- π² Linear Algebra: Vectors, matrices, matrix operations.
This project requires Python v3.10 or higher. It was developed and tested using Python v3.12.8. If you encounter issues running the specified version of dependencies, consider using this version of Python.
Installing matplotlib
and pandas
is OPTIONAL. They are used exclusively in the Looking Ahead Notebook to show an application of using them.
Use Poetry for dependency management. It handles dependencies, virtual environments, and locking versions more efficiently than pip.
To install exact dependency versions specified in poetry.lock for consistent environments without installing the current project as a package:
poetry install --no-root
Install all dependencies listed in requirements.txt using pip:
pip install -r requirements.txt
- Open the root folder with VS Code (
Ctrl/Cmd + K
followed byCtrl/Cmd + O
). - Open
.ipynb
files using the Jupyter extension integrated with VS Code. - Select the correct Python kernel and virtual environment where the dependencies were installed.
- Allow VS Code to install any recommended dependencies for working with Jupyter Notebooks.
βοΈ Notes:
- It is highly recommended to stick with the exact dependency versions specified in poetry.lock or requirements.txt rather than using the latest package versions. The repository has been tested on these versions to ensure compatibility and stability.
- This repository is actively maintained, and dependencies are updated regularly to the latest stable versions.
- The table of contents embedded in the notebooks may not function correctly on GitHub.
- For an improved experience, open the notebooks locally or view them via nbviewer.
- Official Website:
- The official website for NumPy, providing information, tutorials, and resources for the NumPy library
- Official site: numpy.org
- Documentation
- Comprehensive guide and reference for all functionalities and features of the NumPy library
- Doc: numpy.org/doc
- Source Code
- Over 1500 contributors are currently working on NumPy.
- Link: github.com/numpy/numpy
- Pandas
- A powerful, open-source data analysis and manipulation library built on top of NumPy for Python
- Official site: pandas.pydata.org
- My Pandas Workshop: Coming Soon
- Data Visualization
- A comprehensive collection of Python libraries for creating static, animated, and interactive visualizations: Matplotlib, Seaborn, and Plotly.
- Official sites: matplotlib.org | seaborn.pydata.org | plotly.com
- My MatPlotLib Workshop: github.com/mr-pylin/data-visualization-workshop
- PyTorch
- An open-source machine learning library for Python developed by Meta AI, used for applications such as deep learning and neural networks.
- Official site: pytorch.org
- My PyTorch Workshop: github.com/mr-pylin/pytorch-workshop
- Media Processing
- A comprehensive resource to explore media processing, from fundamental concepts to advanced techniques.
- Official sites: opencv.org | scikit-image.org | scipy.org
- My Media Processing Workshop: github.com/mr-pylin/media-processing-workshop
Any mistakes, suggestions, or contributions? Feel free to reach out to me at:
I look forward to connecting with you! πββοΈ
This project is licensed under the Apache License 2.0.
You are free to use, modify, and distribute this code, but you must include copies of both the LICENSE and NOTICE files in any distribution of your work.