NumPy - Indexing and Slicing
Which of the following is the correct syntax to select elements at positions 0, 2, and 4 from a NumPy array
arr using fancy indexing?arr using fancy indexing?arr[[0, 2, 4]] uses correct double brackets and list format.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions