course content

Course Content

NumPy in a Nutshell

Challenge: Match the Slicing Challenge: 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 slicing that can be used to get those elements.


4 -
___

3 -
___

-4 -
___

-1 -
___

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

dots
arr[0, 0]
dots
arr[0, 2]
dots
arr[1, 0]
dots
arr[1, 3]
down-icon

Section 3.

Chapter 4