8 results · AI-generated index
N
numpy.org
official

NumPy Conditional Statements

NumPy provides several ways to create conditional statements for 2D arrays, including the use of np.where() and np.select(). These functions allow you to apply multiple conditions to your array.

G
geeksforgeeks.org
article

Conditional Operations on 2D Arrays in NumPy

This article discusses how to perform conditional operations on 2D arrays in NumPy. It covers the use of np.where(), np.select(), and boolean indexing to apply multiple conditions.

R
realpython.com
article

Using NumPy's where() Function for Conditional Statements

The np.where() function is a powerful tool for creating conditional statements in NumPy. This tutorial shows how to use it to apply multiple conditions to a 2D array.

T
towardsdatascience.com
article

NumPy Select: Advanced Conditional Statements

NumPy's np.select() function allows you to create complex conditional statements with multiple conditions. This article provides examples of how to use it with 2D arrays.

Y
youtube.com
video

Conditional Statements in NumPy

This video tutorial covers the basics of conditional statements in NumPy, including the use of np.where() and np.select() for 2D arrays.

N
numpy.org
official

NumPy Documentation: np.where()

The official NumPy documentation for np.where() provides detailed information on how to use this function for conditional statements, including examples with 2D arrays.

C
coursera.org
research

Advanced NumPy: Conditional Statements and Array Operations

This online course covers advanced topics in NumPy, including conditional statements and array operations. It includes lectures on using np.where() and np.select() with 2D arrays.

S
stackoverflow.com
tool

Stack Overflow: NumPy Conditional Statement for 2D Array

This Q&A thread on Stack Overflow discusses how to create a conditional statement for a 2D array in NumPy, with answers providing examples using np.where() and np.select().