When you index a NumPy array with another integer array (fancy indexing), does the result share memory with the original?
-
A
Yes, it always returns a view
-
B
No, it returns a copy
-
C
Only if the index array is sorted
-
D
Only if both arrays have the same dtype