[Numpy-discussion] numpy arrays

bob tnur bobtnur78@gmail....
Sat Jun 9 13:12:40 CDT 2012


>
> Hi every body!
> I have a &b numpy arrays
> a=np.loadtxt('çm1.txt',  dtype=np.float, skiprows=2,usecols=[1])
> b=np.loadtxt('çm1.txt',  dtype=('x', np.float64),  skiprows=2,usecols=[2])
>
> how to save  multiple files like cm1.txt,cm2.txt,cm3.txt etc and to
> produce their corresponding outputs cm1.out,cm2.out,cm3.out etc.
>

   or how to modify this:
   np.savetxt(*fname*, *(a*,b), *fmt='%4*.8f*'*)



>
> I appreciate your help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120609/866b42cd/attachment.html 


More information about the NumPy-Discussion mailing list