numpy.arrayも基本シャロー・コピー

まじですぐ忘れる。

>>> import numpy as np
>>> x = np.array([1,2,3])
>>> y = x
>>> y[1] = 999
>>> print(x)
[  1 999   3]