How To Convert Python Variable Into Numpy Array