Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.3K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.3K+ articles
Python-numpy
1.3K+ articles
Numpy
73+ articles
Python numpy-Indexing
25 posts
Recent Articles
Popular Articles
How to remove rows from a Numpy array based on multiple conditions ?
Last Updated: 23 July 2025
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 inbuilt methods provided by the Nu...
read more
Python
Picked
Python-numpy
Python numpy-arrayManipulation
Python numpy-Indexing
How to skip every Nth index of NumPy array ?
Last Updated: 23 July 2025
NumPy arrays offer efficient numerical operations and data storage. When working with large arrays, sometimes it's necessary to skip specific indices for optimization or d...
read more
Python
Picked
Python-numpy
Python numpy-Indexing
How to remove specific elements from a NumPy array ?
Last Updated: 23 July 2025
In this article, we will discuss how to remove specific elements from the NumPy Array. Remove specific elements from a NumPy 1D arrayDeleting element from NumPy array usin...
read more
Python
Picked
Python-numpy
Python numpy-Indexing
How to find the Index of value in Numpy Array ?
Last Updated: 23 July 2025
In this article, we are going to find the index of the elements present in a Numpy array.Using where() Methodwhere() method is used to specify the index of a particular el...
read more
Python
Picked
Python-numpy
Python numpy-Indexing
AI-ML-DS
How to delete multiple rows of NumPy array ?
Last Updated: 23 July 2025
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
How to delete last N rows from Numpy array?
Last Updated: 23 July 2025
In this article, we will discuss how to delete the last N rows from the NumPy array.Method 1: Using Slice OperatorSlicing is an indexing operation that is used to iterate ...
read more
Python
Picked
Python-numpy
Python numpy-Indexing
How to get index of NumPy multidimensional array in reverse order?
Last Updated: 23 July 2025
In this article, we will see how to get the index of the NumPy multidimensional array in reverse order.ApproachFirst, we import the NumPy library and initialize the necess...
read more
Python
Picked
Python-numpy
Python numpy-Indexing
How to Get Values of an NumPy Array at Certain Index Positions
Last Updated: 27 September 2025
In NumPy, you can access or modify array elements at specific indices. The numpy.put() function allows you to insert values into an array at designated positions, supporti...
read more
Python
Python-numpy
Python numpy-Indexing
Replace NumPy Array Elements that doesn't Satisfy the Given Condition
Last Updated: 09 October 2025
If elements in a NumPy array don’t meet a certain condition, you replace them with another value (like 0, -1, or NaN), while keeping the elements that satisfy the conditio...
read more
Python
Python-numpy
Python numpy-Indexing
How to Access Different Rows of a Multidimensional NumPy Array
Last Updated: 09 October 2025
When we need to access different rows of a multidimensional NumPy array such as first row, last two rows or middle rows it can be done using slicing. NumPy provides simple...
read more
Python
Python-numpy
Python numpy-Indexing
Get Row Numbers of NumPy Array having Element Larger than X
Last Updated: 29 September 2025
The task is to find the row indices of an array where at least one element is greater than a given threshold X. For Example: Given array [[1, 5], [7, 2], [3, 9]] and X = 6...
read more
Python
Python-numpy
Python numpy-Indexing
Find Indices of Elements Equal to Zero in a NumPy Array
Last Updated: 27 September 2025
It means you want to find the positions (row and column indices) where the elements of a NumPy array are equal to zero. For example, Given the array [[1, 0, 3], [0, 5, 6],...
read more
Python
Python-numpy
Python numpy-Indexing
How to access a NumPy array by column
Last Updated: 26 June 2025
NumPy arrays are used to handle large datasets efficiently. When working with 2D arrays, you may need to access specific columns for analysis or processing. NumPy makes th...
read more
Python
Python-numpy
Python numpy-Indexing
Select an element or sub array by index from a Numpy Array
Last Updated: 29 August 2020
The elements of a NumPy array are indexed just like normal arrays. The index of the first element will be 0 and the last element will be indexed n-1, where n is the total ...
read more
Python
Python-numpy
Python numpy-Indexing
Accessing Data Along Multiple Dimensions Arrays in Python Numpy
Last Updated: 15 July 2025
NumPy (Numerical Python) is a Python library that comprises of multidimensional arrays and numerous functions to perform various mathematical and logical operations on the...
read more
Python
Python-numpy
Python numpy-Indexing
1
2