Search

Learn NumPy in 10 Days: A Simple Daily Plan

Learn NumPy in 10 Days: A Simple Daily Plan

Β 

Hey there!

I want to share my journey of learning NumPy in just 10 days. Every day, I spent 30 to 45 minutes learning. I followed a simple roadmap and practiced step by step. I wrote everything down in a Jupyter Notebook. You can find all my code here:

πŸ”— GitHub Repository: Β 
Β  FahimMuntashir/zero-to-ds - NumPy Folder

Β What is NumPy? Β 
- NumPy is a Python library that makes working with numbers and arrays super easy and fast. If you're learning data science, machine learning, or even basic math with Python, you’ll love NumPy!

πŸ“… My 10-Day NumPy Learning Plan

πŸ“˜ Day 1: Introduction to NumPy & Basics

  • βœ… Install NumPy (pip install numpy)
  • βœ… Import and check version
  • βœ… Learn about ndarray (NumPy arrays)
  • βœ… Create arrays using array(), zeros(), ones(), full(), arange(), linspace()
  • βœ… Check data types using .dtype
  • βœ… Understand .shape, .size, .ndim
  • βœ… Basic indexing and slicing

    πŸ“ Practice: Create 1D, 2D, and 3D arrays and try slicing them.


πŸ“— Day 2: Array Operations & Broadcasting

  • βœ… Create arrays with random numbers
  • βœ… Learn NumPy data types
  • βœ… Perform arithmetic operations: +, -, *, /, **
  • βœ… Use universal functions: np.add(), np.subtract(), etc.
  • βœ… Try aggregation functions: np.sum(), np.mean(), np.std(), np.sin(), np.cos()
  • βœ… Element-wise operations
  • βœ… Learn broadcasting rules

πŸ“ Practice: Add scalars to arrays and try element-wise multiplication.


πŸ“™ Day 3: Shape, Reshaping & Broadcasting

  • βœ… Understand array shapes
  • βœ… Use .reshape() to convert 1D to 2D, or vice versa
  • βœ… Learn how broadcasting works with different shapes

πŸ“• Day 4: Indexing and Slicing

  • βœ… Indexing with boolean masks and integers
  • βœ… Slice 1D, 2D, and 3D arrays
  • βœ… Use np.where() for condition-based selection
  • βœ… Flatten arrays with .ravel() and .flatten()
  • βœ… Transpose arrays using .T
  • βœ… Stack arrays with np.hstack(), np.vstack(), np.concatenate()

πŸ“’ Day 5: Iterating, Copy vs Views

  • βœ… Iterate through arrays using np.nditer()
  • βœ… Get index and data using np.ndenumerate()
  • βœ… Understand the difference between copies and views of arrays

πŸ““ Day 6: Joining & Splitting Arrays

  • βœ… Join arrays using concatenate(), stack(), hstack(), vstack(), dstack()
  • βœ… Split arrays using split(), array_split(), vsplit(), dsplit()

πŸ“” Day 7: Search, Sort, Filter, Arithmetic

  • βœ… Search with np.where()
  • βœ… Use searchsorted() to find insert locations
  • βœ… Sort arrays with np.sort()
  • βœ… Filter arrays using conditions
  • βœ… Try extra functions: np.shuffle(), np.unique(), np.resize(), np.flatten(), np.ravel()

πŸ› οΈ Day 8 to Day 10: Practice Time

After learning the basics in 7 days, I spent the last 3 days just practicing! Practice helped me become more confident with NumPy.

Here are two amazing resources I used:

If you want to start your data science journey, I think NumPy is a great first step. You don’t need to be a pro to begin. Just take small steps like I did.

Thanks for reading! 😊  
Let me know if you try this challenge too! Β 
Β 

Fahim Muntashir

Fahim Muntashir

Fahim Muntashir, an aspiring Computer Science and Engineering graduate from North South University, Dhaka,Bangladesh with strong programming expertise and a solid command of computer and web technologies. Throughout the academic journey, he has excelled in various competitions, showcasing his skills and dedication to excellence. Beyond academics, he is passionate about photography and traveling, with his work exhibited both nationally and internationally in three different countries.

Leave a comment

Your email address will not be published. Required fields are marked *