Matlab Create Numpy Array Python Code