Welcome to the NumPy-Learning repository by Prince Monga, your complete guide to mastering the NumPy library — the foundation of numerical computing with Python.
This repository includes clean, commented, and practical Python files that demonstrate the core features of NumPy. Ideal for beginners to intermediate learners, this content is curated to help you:
- Understand Python vs NumPy arrays
- Learn slicing, reshaping, and broadcasting
- Perform mathematical and aggregate operations
- Apply real-life use cases for Data Science and Machine Learning
| Module No. | File Name | Description |
|---|---|---|
| 1 | 1. Intro-ListVsArray.py |
Difference between Python Lists & Arrays |
| 2 | 2. Creating Arrays in NumPy.py |
Creating 1D, 2D, and special arrays |
| 3 | 3. Array Indexing and Slicing.py |
Accessing and slicing data in arrays |
| 4 | 4. Array Shape and Reshape.py |
Reshape arrays using .reshape() |
| 5 | 5. Mathematical Operations.py |
Perform math on arrays |
| 6 | 6. Broadcasting.py |
Auto-expanding operations in NumPy |
| 7 | 7. Aggregate Functions.py |
Use of sum, mean, max, etc. |
| 8 | 8. Array Joining and Splitting.py |
Combine or split arrays efficiently |
| 9 | 9. Boolean Indexing.py |
Filter arrays using conditionals |
| — | Real Life Use Case.py |
Real-world examples for practice |
| — | NumPy-Prince-Monga.pdf |
Full notes in PDF format |
| Platform | Link |
|---|---|
| 🔗 Website | princemonga.site |
| Prince Monga | |
| 🐦 Twitter/X | @prince_monga7 |
| 💼 GitHub | github.com/prince-monga |
- 🚀 Speeds up array operations up to 100x faster than native Python
- 💻 Foundation for Machine Learning, AI, and Data Science
- 📊 Handles large datasets with efficiency
# Clone the repository
git clone https://github.com/princemonga/NumPy-Learning-.git
# Open any file in your Python IDE (VS Code, Jupyter, etc.)