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
How to filter two-dimensional NumPy array based on condition ?
Last Updated: 13 October 2022
In this article, we are going to see how to apply the filter by the given condition in NumPy two-dimensional array. We have to obtain the ou
...read more
Python
Python-numpy
Picked
Python numpy-arrayManipulation
How to remove array rows that contain only 0 using NumPy?
Last Updated: 20 August 2021
Numpy library provides a function called numpy.all() that returns True when all elements of n-d array passed to the first parameter are True
...read more
Python
Python-numpy
Picked
Python numpy-arrayManipulation
NumPy - Filtering rows by multiple conditions
Last Updated: 10 October 2022
In this article, we will discuss how to filter rows of NumPy array by multiple conditions. Before jumping into filtering rows by multiple co
...read more
Python
Python-numpy
Picked
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
Extracting the real and imaginary parts of an NumPy array of complex numbers
Last Updated: 02 September 2020
Numpy library gives us functions such as real() and imag() to find real and imaginary parts of a complex number. real() : To find real pa
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Insert a new axis within a NumPy array
Last Updated: 10 January 2024
This post deals with the ways to increase the dimension of an array in NumPy. NumPy provides us with two different built-in functions to inc
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Splitting Arrays in NumPy
Last Updated: 22 December 2023
NumPy arrays are an essential tool for scientific computing. However, at times, it becomes necessary to manipulate and analyze specific part
...read more
Python
Python-numpy
Python numpy-arrayManipulation
Python - Iterate over Columns in NumPy
Last Updated: 26 February 2023
Numpy (abbreviation for 'Numerical Python') is a library for performing large-scale mathematical operations in a fast and efficient manner.
...read more
Python
Python numpy-arrayManipulation
numpy.select() function - Python
Last Updated: 07 April 2025
The numpy.select() function is used to construct an array by selecting elements from a list of choices based on multiple conditions. It is p
...read more
Python-numpy
Machine Learning
Python numpy-arrayManipulation
python
Numpy
Python | Convert Numpy Arrays to Tuples
Last Updated: 06 April 2023
Given a numpy array, write a program to convert numpy array into tuples.Examples -Input: ([[1, 0, 0, 1, 0], [1, 2, 0, 0, 1]])Output: ((1, 0
...read more
Python
Python numpy-arrayManipulation
Numpy
numpy.column_stack() in Python
Last Updated: 06 January 2019
numpy.column_stack() function is used to stack 1-D arrays as columns into a 2-D array.It takes a sequence of 1-D arrays and stack them as co
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.repeat() in Python
Last Updated: 28 March 2022
The numpy.repeat() function repeats elements of the array - arr. Syntax :numpy.repeat(arr, repetitions, axis = None)Parameters :array
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.tile() in Python
Last Updated: 28 March 2022
The numpy.tile() function constructs a new array by repeating array - 'arr', the number of times we want to repeat as per repetitions. The r
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.delete() in Python
Last Updated: 09 August 2022
The numpy.delete() function returns a new array with the deletion of sub-arrays along with the mentioned axis.Syntax:numpy.delete(array, obj
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.roll() in Python
Last Updated: 08 March 2024
The numpy.roll() function rolls array elements along the specified axis. Basically what happens is that elements of the input array are bein
...read more
Python
Python-numpy
Python numpy-arrayManipulation
numpy.flip() in Python
Last Updated: 08 March 2024
The numpy.flip() function reverses the order of array elements along the specified axis, preserving the shape of the array.Syntax: numpy.fli
...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
1
2
3
4
>>
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 !