Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Match the Slicing | Indexing and Slicing
NumPy in a Nutshell

book
Match the Slicing

question-icon

You have the following two-dimensional array: arr = np.array([[4, 8, -4, 2], [-1, 0, -6, 3]]. Match the elements with the corresponding slicing needed to retrieve those elements.

4 -
___

3 -
___

-4 -
___

-1 -
___

Click or drag`n`drop items and fill in the blanks

dots
arr[1, 3]
dots
arr[0, 2]
dots
arr[0, 0]
dots
arr[1, 0]

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4

Demandez à l'IA

expand
ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt