2 ms·
numpy arrays do not copy on `[:]` therefore an explicit `.copy()` is required. `copy.copy()` makes a shallow copy of both a ordinary list and numpy arrays.
by d0mine 18y ago
numpy arrays do not copy on `[:]` therefore an explicit `.copy()` is required.
`copy.copy()` makes a shallow copy of both a ordinary list and numpy arrays.