When I type
import numpy as np p = np.array([1.0, 2.0]) print(p.data) s = p.data print(s) print(p)
The output is