Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Python
20.1k+ articles
Machine Learning
2.4k+ articles
Misc
2.1k+ articles
AI-ML-DS With Python
1.8k+ articles
Python-numpy
1.3k+ articles
python
1.1k+ articles
Numpy
72 articles
Python numpy-program
33 articles
Python Numpy-Masked Array
33 articles
Python numpy-matlib
2 articles
Python numpy-arrayManipulation
190+ posts
Popular Articles
Recent Articles
Counting the number of non-NaN elements in a NumPy Array
Last Updated: 03 April 2023
In this article, we are going to see how to count the number of non-NaN elements in a NumPy array in Python.NAN: It is used when you don't c
...read more
Python
Python-numpy
Picked
Python numpy-arrayManipulation
How to remove rows from a Numpy array based on multiple conditions ?
Last Updated: 03 July 2021
In this article, we will learn how to remove rows from a NumPy array based on multiple conditions. For doing our task, we will need some inb
...read more
Python
Python-numpy
Picked
Python numpy-arrayManipulation
Python numpy-Indexing
Joining NumPy Array
Last Updated: 02 April 2025
NumPy provides various functions to combine arrays. In this article, we will discuss some of the major ones.numpy.concatenatenumpy.stacknump
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Similar Topics
Python
20.1k+ articles
Machine Learning
2.4k+ articles
Misc
2.1k+ articles
AI-ML-DS With Python
1.8k+ articles
Python-numpy
1.3k+ articles
python
1.1k+ articles
Numpy
72+ articles
Python numpy-program
33+ articles
Python Numpy-Masked Array
33+ articles
Python numpy-matlib
2+ articles
Combining a one and a two-dimensional NumPy Array
Last Updated: 01 October 2020
Sometimes we need to combine 1-D and 2-D arrays and display their elements. Numpy has a function named as numpy.nditer(), which provides thi
...read more
Python
Python-numpy
Python numpy-arrayManipulation
How to add a border around a NumPy array?
Last Updated: 01 October 2020
Sometimes we need to add a border around a NumPy matrix. Numpy provides a function known as 'numpy.pad()' to construct the border. The below
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Find the union of two NumPy arrays
Last Updated: 05 September 2020
To find union of two 1-dimensional arrays we can use function numpy.union1d() of Python Numpy library. It returns unique, sorted array with
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Difference between reshape() and resize() method in Numpy
Last Updated: 05 September 2020
Both the numpy.reshape() and numpy.resize() methods are used to change the size of a NumPy array. The difference between them is that the re
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Find the number of occurrences of a sequence in a NumPy array
Last Updated: 05 September 2020
The sequence is consisting of some elements in the form of a list and we have to find the number of occurrences of that sequence in a given
...read more
Python
Python-numpy
Python numpy-program
Python numpy-arrayManipulation
NumPy Copy and View of Array
Last Updated: 01 February 2024
While working with NumPy, you might have seen some functions return the copy whereas some functions return the view.The main difference betw
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Calculate the sum of all columns in a 2D NumPy array
Last Updated: 21 July 2021
Let us see how to calculate the sum of all the columns in a 2D NumPy array.Method 1 : Using a nested loop to access the array elements colum
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Python numpy-Mathematical Function
numpy.intersect1d() function in Python
Last Updated: 17 May 2020
numpy.intersect1d() function find the intersection of two arrays and return the sorted, unique values that are in both of the input arrays.S
...read more
Python-numpy
Machine Learning
Python numpy-arrayManipulation
python
numpy.unravel_index() function | Python
Last Updated: 22 April 2020
numpy.unravel_index() function converts a flat index or array of flat indices into a tuple of coordinate arrays.Syntax : numpy.unravel_i
...read more
Python-numpy
Machine Learning
Python numpy-arrayManipulation
python
numpy.swapaxes() function - Python
Last Updated: 22 April 2025
numpy.swapaxes() function allow us to interchange two axes of a multi-dimensional NumPy array. It focuses on swapping only two specified axe
...read more
Python-numpy
Machine Learning
Python numpy-arrayManipulation
python
Python | Numpy np.multivariate_normal() method
Last Updated: 13 October 2019
With the help of np.multivariate_normal() method, we can get the array of multivariate normal values by using np.multivariate_normal() metho
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.rot90() in Python
Last Updated: 08 March 2024
The numpy.rot90() method performs rotation of an array by 90 degrees in the plane specified by axis(0 or 1).Syntax: numpy.rot90(array, k =
...read more
Python
Python-numpy
Python numpy-arrayManipulation
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
2
3
4
5
>>
Last
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 !