Difference between list and numpy array
1 min readMar 24, 2020
Lots of trivial difference. I will list something not that trivial.
Slicing
Slicing in list is deep copy
slicing in np array is shallow copy.
In order to have a deep copy for numpy we have to use
b = a.copy()