# Python NumPy

## Multiply Function of Python Numpy Explained – 8 Examples

In this article, we’ll be understanding the multiply function of Python Numpy with the help of various easy code examples. To make things more clear, we’ll explain each coding example step by step. By the end of this article, you’ll have a detailed practical knowledge of how to use the Numpy multiply() function. Use of …

## Python numpy.divide() Function Explained [7 Examples]

In this article, we’ll understand the role and implementation of Python numpy.divide() function with the help of easy and proper code examples. Examples include applying the divide function on arrays of the same shape as well as different shapes, handling inf and nan values, and many more. These examples will be explained step by step …

## How to Use numpy.subtract() and (-) to Subtract Arrays

In this article, we’ll make use of the operator(-) and the Python Numpy subtract function to subtract single/multi-dimensional arrays. We’ll learn subtraction on 1D, 2D arrays, broadcasting, etc. Practical code examples with step-by-step explanations will be provided with easy code examples so you can grasp the implementation quickly. How to Subtract Numpy Arrays (2 Methods) …

In this article, we’ll go through multiple ways through which the addition of single/multiple dimensions arrays can be done. Also, we’ll learn how to add a single item to all the items inside the array i.e. broadcasting. All these explanations will be practically implemented using Python code examples. 2 Methods to Add Arrays Items There …

## Python Numpy Eye Function Explained [3 Easy Examples]

In this article, we’ll explain in detail the Python Numpy eye function. Starting from its definition, then progressing forward to the eye() function parameters, and finally understanding its usage with proper practical Python code examples. What is Python Numpy Eye Function? The eye() functions come from the Numpy library. The role of this function is …

## Python Transpose Numpy Function [4 Code Examples]

In this article, we’ll learn about the Python transpose Numpy function. We’ll explore the parameters of this function. To make this article interesting, we’ll apply the transpose function to 1D and 2D arrays and understand the implementation with proper code examples. What is Python Transpose Numpy Function? If you want to rearrange the dimensions of …

## Python Numpy Flatten Function [Explained with 4 Examples]

In this article, we’ll walk ourselves through Python Numpy flatten function. We’ll first discuss the flatten() function theoretically and after that, we’ll go through multiple code examples in which we’ll explain the working of this function practically for proper understanding. What is Python Numpy Flatten Function? This function is used to convert a multi-dimensional array …

## Ravel Function of Python Numpy Explained [3 Examples]

In this article, we’ll dig deep into the theory and practical implementation of the ravel function of Python Numpy library. From explaining the parameters of the ravel() function to its proper implementation using code examples, everything will be discussed step by step. What is Ravel Function in Python Numpy? In our previous article, we learned …

## Python Numpy Reshape Function Explained [With Examples]

In this article, we’ll learn about Python Numpy reshape function. Everything from the parameters of reshape function to its proper implementation using code examples will be discussed. Understanding Python Numpy reshape Function As the name suggests, the reshape function is used to change the shape or we can say dimensions but not changing the data …

## Python NumPy Linspace Function Parameters – 5 Examples

In this article, we’ll learn Python Numpy linspace function. We’ll start with its definition and role, then we’ll jump to its syntax and explanation of its parameters. Finally, we’ll understand its usage practically with the help of Python code examples. What is Python Numpy linspace Function? In Python, the role of the Numpy linspace function …