Skip to content

NumPy Essentials – A beginner-friendly collection of notes, examples, and code snippets to master Python’s most powerful numerical computing library. Learn arrays, math operations, indexing, broadcasting, and more—all in one place!

Notifications You must be signed in to change notification settings

MuhammadSayyadkhan/NumPy-library-Basic-concepts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumPy Learning Repository

  • Welcome to the NumPy Learning Repository : a beginner-friendly collection of Jupyter notebooks covering the most important NumPy concepts. Each topic is explained in simple words with examples, so you can learn step by step.

covered topics

  1. Introduction to NumPy
  2. NumPy Functions
  3. Random Numbers in NumPy
  4. Data Types in NumPy
  5. Arithmetic Operations
  6. Arithmetic Functions
  7. Shape & Reshape
  8. Broadcasting
  9. Indexing & Slicing
  10. Iteration with nditer
  11. Copy vs View
  12. Concatenate, Stack & Split
  13. Searching Elements
  14. Shuffle & Unique
  15. Insert & Delete
  16. Matrix Functions

1. Introduction to NumPy

Learn what NumPy is and why it’s used for scientific computing. Understand arrays and how they are better than Python lists.

2. NumPy Functions

Explore built-in functions for creating arrays (zeros, ones, arange, linspace). Learn how these functions make coding easier.

3. Random Numbers in NumPy

Generate random integers, floats, and samples. Useful for simulations, testing, and machine learning.

4. Data Types in NumPy

Learn different data types (int, float, bool, complex). How to check and change the type of an array.

5. Arithmetic Operations

Perform basic math (+, -, *, /) on arrays. Fast and vectorized compared to Python loops.

6. Arithmetic Functions

Use functions like sum, mean, sqrt, exp. Perform advanced math easily with NumPy.

7. Shape & Reshape

Check the size/shape of arrays. Reshape arrays into different dimensions (e.g., 1D → 2D).

8. Broadcasting

Learn how NumPy handles operations between arrays of different shapes. Very powerful for reducing code.

9. Indexing & Slicing

Access elements using indices. Slice arrays to get subarrays.

10. Iteration with nditer

Loop through arrays efficiently. Work with multi-dimensional arrays in simple ways.

11. Copy vs View

Understand the difference between copying an array and creating a view. Important for memory management.

12. Concatenate, Stack & Split

Combine arrays (concatenate, stack). Break arrays into smaller parts (split).

13. Searching Elements

Find elements using conditions. Learn functions like where, searchsorted.

14. Shuffle & Unique

Shuffle elements randomly. Find unique values in arrays.

15. Insert & Delete

Insert new elements into arrays. Delete elements from arrays.

16. Matrix Functions

Work with matrices using functions like dot, transpose, inv. Essential for linear algebra and machine learning.


how to install NumPy ?

open terminal write the below command -> pip install numpy


Learning Outcomes

  • Build a strong foundation in NumPy.
  • Understand arrays and mathematical operations.
  • Be ready to use NumPy in data science, AI, and machine learning projects.

🤝 Contributing

Want to improve this repo? Feel free to fork the project, add your notebooks, and make a pull request. Contributions are always welcome!


📩 Contact

👤 Muhammad Sayyad Khan 📧 msswati43215@gmail.come 🔗 [https://www.linkedin.com/in/sayyad-khan-16250a377?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app]

-> note : Each topic also explain in notebook too

About

NumPy Essentials – A beginner-friendly collection of notes, examples, and code snippets to master Python’s most powerful numerical computing library. Learn arrays, math operations, indexing, broadcasting, and more—all in one place!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published