View vs Copy (NumPy)

A view is a new array object that shares the same underlying data as the original, so writing to one changes the other; a copy is independent data. Knowing…