Python List To Array Numpy Linspace Python