Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Machine Learning
2.9K+ articles
Python-pandas
1.7K+ articles
Python-numpy
1.3K+ articles
python
1.2K+ articles
python-list
426+ articles
Python numpy-polynomials
104+ articles
Numpy
81+ articles
Python numpy-ndarray
121+ posts
Recent Articles
Popular Articles
numpy.interp() function - Python
Last Updated: 24 September 2024
numpy.interp() function returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x. Syntax : numpy.in...
read more
Python
Python-numpy
Python numpy-ndarray
NumPy indices() Method | Create Array of Indices
Last Updated: 05 February 2024
The indices() method returns an array representing the indices of a grid.It computes an array where the subarrays contain index values 0, 1, … varying only along the corre...
read more
Python
Python-numpy
Python numpy-ndarray
NumPy ndarray.dtype Property | Get Data Type of Elements in Array
Last Updated: 05 February 2024
The ndarray.dtype attribute returns the data type of the array’s elements.This attribute is read-only and cannot be modified directly.ExamplePython3 import nump...
read more
Python
Python-numpy
Python numpy-ndarray
numpy.ndarray.resize() function - Python
Last Updated: 24 September 2024
numpy.ndarray.resize() function change shape and size of array in-place. Syntax : numpy.ndarray.resize(new_shape, refcheck = True) Parameters : new_shape :[tuple of ints...
read more
Python
Python-numpy
Python numpy-ndarray
Convert Python Nested Lists to Multidimensional NumPy Arrays
Last Updated: 09 July 2021
Prerequisite: Python List, Numpy ndarrayBoth lists and NumPy arrays are inter-convertible. Since NumPy is a fast (High-performance) Python library for performing mathemati...
read more
Python
python-list
Python numpy-ndarray
How to convert a dictionary into a NumPy array?
Last Updated: 05 March 2023
It's sometimes required to convert a dictionary in Python into a NumPy array and Python provides an efficient method to perform this operation. Converting a dictionary to ...
read more
Python
Python-numpy
Python numpy-ndarray
Test whether the elements of a given NumPy array is zero or not in Python
Last Updated: 07 September 2022
In numpy, we can check that whether none of the elements of given array is zero or not with the help of numpy.all() function. In this function pass an array as parameter. ...
read more
Python
Python-numpy
Python numpy-ndarray
numpy.einsum() Method
Last Updated: 10 August 2020
In NumPy, we can find Einstein’s summation convention of two given multidimensional arrays with the help of numpy.einsum(). We will pass two arrays as a parameter and it w...
read more
Python
Python-numpy
Python numpy-ndarray
NumPy who() Method | Print Arrays in Dictionary
Last Updated: 05 February 2024
The who() function of the NumPy library prints the NumPy ndarray in the given dictionary of the current module.If no dictionary is passed in or vardict is None then it pri...
read more
Python
Python-numpy
Python numpy-ndarray
Check whether a Numpy array contains a specified row
Last Updated: 05 September 2020
In this article we will learn about checking a specified row is in NumPy array or not. If the given list is present in a NumPy array as a row then the output is True else ...
read more
Python
Python-numpy
Python numpy-ndarray
NumPy require() Method
Last Updated: 01 February 2024
The NumPy's require() method returns a ndarray that satisfies certain requirements.The numpy.require() method is useful for ensuring that an array has the correct flags, t...
read more
Python
Python-numpy
Python numpy-ndarray
How to get the number of dimensions of a matrix using NumPy in Python?
Last Updated: 30 September 2022
In this article, we will discuss how to get the number of dimensions of a matrix using NumPy. It can be found using the ndim parameter of the ndarray() method.Syntax: no_o...
read more
Technical Scripter
Python
Picked
Technical Scripter 2020
Python-numpy
Python numpy-ndarray
How to mask an array using another array in Python ?
Last Updated: 21 April 2021
In this article, we will learn how to mask an array using another array in Python. When working with data arrays or data-frames masking can be extremely useful. Masks are ...
read more
Python
Picked
Python-numpy
Python numpy-ndarray
How to delete multiple rows of NumPy array ?
Last Updated: 09 January 2023
NumPy is the Python library that is used for working with arrays. In Python there are lists which serve the purpose of arrays but they are slow. Therefore, NumPy is there ...
read more
Python
Picked
Python numpy-Basics
Python numpy-ndarray
Python numpy-arrayCreation
Python numpy-Indexing
Delete rows and columns of NumPy ndarray
Last Updated: 21 April 2021
In this article, we will discuss how to delete the specified rows and columns in an n-dimensional array. We are going to delete the rows and columns using numpy.delete() m...
read more
Python
Picked
Python-numpy
Python numpy-ndarray
1
2
3
4
5
6
7
8
9
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !