This repository contains a series of Jupyter notebooks with various aspects of using the NumPy library in Python. Each notebook is self-contained and focuses on a specific topic within NumPy, starting from the basics and moving towards more complex operations.
-
What is NumPy in Python?
Introduction to NumPy and its significance in scientific computing. -
NumPy Array vs Python List
A comparison between NumPy arrays and Python lists, highlighting the performance benefits and use cases of NumPy arrays. -
Creating NumPy Arrays
Various methods to create NumPy arrays, including array initialization and converting other data structures to arrays. -
NumPy Array Using NumPy Functions
Utilizing built-in NumPy functions to create and manipulate arrays. -
NumPy Array with Random Numbers
Generating arrays of random numbers and understanding the use of the random module in NumPy. -
Datatype of NumPy Arrays
Understanding the various data types available in NumPy and how to work with them. -
NumPy Arithmetic Operations
Performing basic arithmetic operations like addition, subtraction, multiplication, and division with arrays. -
Arithmetic Functions in NumPy
Exploring built-in arithmetic functions such asmax(),min(),argmin(),argmax(),sqrt(),sin(),cumsum()and more. -
Shape and Reshaping in NumPy
Understanding the shape of arrays and how to reshape them without changing the data. -
Broadcasting in NumPy Array
Learning about broadcasting, a powerful mechanism that allows NumPy to work with arrays of different shapes during arithmetic operations. -
Indexing and Slicing in NumPy Arrays
Dive deep into indexing and slicing to manipulate NumPy array elements -
Iterating NumPy Arrays
Learn how to iterate over NumPy arrays usingnditer(),ndenumerate(). -
Copy vs Views in NumPy
Understanding the difference between copying and viewing arrays and their implications usingcopy()andview(). -
Joining & Splitting NumPy Arrays
Techniques for concatenating and splitting arrays using various functions likeconcatenate(),stack(),hstack(),dstack(),vstack()andsplit(). -
NumPy Array Functions
Exploreed a range of functions for array manipulation,where(),sort(),searchsorted(),shuffle(),unique(),resize,flatten()andravel() -
NumPy Insert and Delete Arrays Functions
Learnt how to insert and delete elements in arrays efficiently usinginsert(),append(), anddelete()
To get started with these notebooks, clone this repository and install the required packages using the following commands:
git clone https://github.com/Biotechnologyguy/numpy.git
cd numpy
pip install numpy