
NumPy is an open-source Python library, that allows you to work with multi-dimensional arrays and matrices, with the mathematical functions operating on these arrays.
In this lesson, learn how to create NumPy arrays. To create NumPy arrays, use numpy.array() method in Python.
In this lesson, learn how to display the dimensions of NumPy Arrays. Dimensions of an array in NumPy are also called the Rank of an Array. Here, we will see how to check how many dimensions an array has used with the numpy.ndarray.ndim attribute .
In this lesson, learn how to initialize NumPy arrays. To Initialize NumPy arrays, we can use the numpy.zeros() method. Using this method, initialize NumPy arrays with zeros.
In this lesson, learn what are datatypes in NumPy with examples.
In this lesson, learn what is indexing in a NumPy Array. Array indexing is accessing array elements. In NumPy, access an array element using the index number.
In this lesson, learn what is array slicing in NumPy. Slicing the array in a range from start to end is what we call Array Slicing.
In this lesson, learn how to find the shape of an array in NumPy. In Python NumPy, the number of elements in each dimension of an array is called the shape. To get the shape of a NumPy array, use the numpy.shape attribute in Python.
In this lesson, learn how to reshape a NumPy array. In Python NumPy, the number of elements in each dimension of an array is called the shape. To reshape the number of dimensions, use the numpy.reshape() method in Python.
In this lesson, learn how to iterate a NumPy Array. Iteration is displaying each element of an array.
In this lesson, learn how to join NumPy Arrays. We can join two or more arrays in a single new array using the following:
concatenate() method: Joining along with axis, unlike keys in SQL.
stack methods: Joining along a new axis, unlike keys in SQL.
In this lesson, learn how to split NumPy Arrays. Split means to break/ slash an array into multiple arrays. To split an array, use the array_split() method in NumPy.
In this lesson, learn how to search a NumPy Array. In a NumPy array, we can search for a specific value using the numpy.where() method. This method returns the index where the specific element is found.
In this lesson, learn how to sort a NumPy Array. The numpy.sort() function is used in NumPy to sort arrays in a sequence. This sequence can be ascending or descending.
In this lesson, learn what are Axes in NumPy Arrays. In NumPy arrays, the axis is the direction along the rows and columns.
In this lesson, learn how to perform intersection on NumPy Arrays. If you want to get the intersection of two arrays, use the intersect1d() method in NumPy. Intersection means finding common elements between two arrays.
In this lesson, learn how to find the difference between NumPy Arrays. To find the difference between two arrays, use the numpy.setdiff1d() method.
In this lesson, learn how to perform Arithmetic Operations on NumPy Arrays. We will add, subtract, multiply, and divide Numpy Arrays.
In this lesson, learn how to perform scalar operations on NumPy Arrays. We will perform addition, subtraction, multiplication, and division operations on Numpy Arrays.
In this lesson, learn how to perform statistical operations on NumPy arrays. We can perform statistical operations, like mean, median, and standard deviation on NumPy arrays. Let’s see them one by one.
In this lesson, learn how to understand the random module in NumPy. To work with Random numbers, NumPy has a module called random.
In this lesson, learn to work with Logs in NumPy. Python NumPy has some predefined functions to work with Logs, such as numpy.log2(), numpy.log10(), etc.
In this lesson, learn how to get the LCM and HCF of two numbers in NumPy. The numpy.lcm() is used to find the LCM, whereas numpy.gcd() method returns the GCD in Python NumPy.
Welcome to The Complete NumPy Tutorial by Studyopedia.
NumPy is an open-source Python library, that allows you to work with multi-dimensional arrays and matrices, with the mathematical functions operating on these arrays. It stands for Numerical Python and is written in Python and C. It is a Python library for numeric and scientific computing. It consists of multi-dimensional array objects. It is faster with less LOC.
Python NumPy is considered one of the most powerful and top libraries for Data Science. In this course, we have covered over 70 examples to explain every concept of NumPy.
Numpy allows you to perform various operations on Arrays, including
Array Slicing
Array Join
Array Split
Array Reshape
Array Indexing
Array Search
Course Lessons
NumPy Introduction
Installing NumPy with pip
Create NumPy arrays
Dimensions in NumPy Arrays
Initialize NumPy Arrays
Datatypes in NumPy
NumPy Array Indexing
NumPy Array Slicing
NumPy Array Shape
Reshape a NumPy array
Iterate NumPy Arrays
Joining NumPy Arrays
Split NumPy Array
Search an Array for a value
Sorting NumPy Arrays
Axes in NumPy arrays
Intersection of NumPy Arrays
Difference between NumPy arrays
Arithmetic Operations on NumPy arrays
Scalar operations on NumPy arrays
Statistical Operations on NumPy arrays
Random module in NumPy
NumPy Logs
NumPy LCM and HCF
Quiz
We have also provided 6 Online Quizzes to polish your NumPy skills after completing the lessons.
100+ live coding examples are covered to make each lesson easier for the students.
Hit the Enroll button!