Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära 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[1, 0]
dots
arr[0, 0]

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 4

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt