# Numpy

## How to get Numpy Array Dimensions using numpy.ndarray.shape & numpy.ndarray.size() in Python

In this article we will discuss how to count number of elements in a 1D, 2D & 3D Numpy array, also how to count number of rows & columns of a 2D numpy array and number of elements per axis in 3D numpy array.

## np.delete(): Remove items/rows/columns from Numpy Array

In this article, we will discuss how to remove elements from a 1D or 2D Numpy Array by index position using numpy.delete(). Then we will also see how to remove rows and columns from 2D numpy array. Table of Contents np.delete() – Overview Delete an element in 1D Numpy Array by Index position Delete multiple

## numpy.linspace() | Create same sized samples over an interval in Python

In this article we will discuss how to create a Numpy array of evenly spaced samples over a range using numpy.linspace().

## numpy.amin() | Find minimum value in Numpy Array and it’s index

In this article we will discuss how to find the minimum or smallest value in a Numpy array and it’s indices using numpy.amin().

## Create Numpy Array of different shapes & initialize with identical values using numpy.full() in Python

In this article we will discuss how to create a Numpy Array of different shapes and initialized with same identical values using numpy.full().

## Create a 1D / 2D Numpy Arrays of zeros or ones

In this article we will discuss how to create a Numpy array of different shapes and initialized with 0 & 1. numpy.zeros() Python’s Numpy module provides a function to create a numpy array of given shape & type and all values in it initialized with 0’s i.e. Arguments: shape : Shape of the numpy array.

## numpy.where()

In this tutorial, we will learn all about the usage details of numpy.where() method from NumPy module in Python.

## Python : Find unique values in a numpy array with frequency & indices | numpy.unique()

In this article we will discuss how to find unique values / rows / columns in a 1D & 2D Numpy array.Â Also how to find their index position & frequency count using numpy.unique().

## Find max value & its index in Numpy Array | numpy.amax()

In this article we will discuss how to get the maximum / largest value in a Numpy array and its indices using numpy.amax().

## Find the index of value in Numpy Array using numpy.where()

In this article, we will discuss how to find index of a value in a NumPy array (both 1D & 2D) using numpy.where(). Let’s create a Numpy array from a list of numbers i.e. Now let’s see how to to search elements in this NumPy array. Find index of a value in 1D Numpy array

Scroll to Top