Skip to content

Akshitha0118/Numpy-code

Repository files navigation

🧮 NumPy – Task 12 (Crash Course)

In this task, I explored various NumPy functions, operations, and concepts as part of my learning.


🔹 Functions Worked On

  • array()
  • zeros()
  • ones()
  • arange()
  • reshape()
  • np.random.rand()
  • np.random.randint()

🔹 Indexing & Slicing in NumPy

Practiced selecting elements, rows, and columns using:

  • Simple indexing
  • Slicing (: operator)

🔹 Concepts from NumPy Documentation

  • Sorting and Concatenation
  • ndim → Number of dimensions
  • size → Total number of elements
  • shape → Dimensions of the array

🔹 Operations on NumPy Arrays

  • min() → Finds minimum value
  • max() → Finds maximum value
  • mean() → Calculates mean value
  • median() → Calculates median value

🔹 Masking in NumPy

Practiced masking using comparison operators:

  • < , <= , > , >=

📘 Summary:
This task helped me strengthen my understanding of NumPy fundamentals — from creating arrays to performing operations and masking elements effectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published