Return the last column of cups as a 1-D array
NumPy · from Indexing and slicing
a[i, j]start:stop:stepa[:, 1]negative indices...a[i][j]Putting the kettle on…
Starting up…
Exercise 2
Return the last column of cups as a 1-D array.
your answer
stuck? the lesson behind it
Indexing and slicing
One range per axis — and why an integer removes an axis while a slice keeps it.