On Wed, Aug 12, 2009 at 10:47 AM, per freem wrote:
> hi all,
>
> thanks for these comments. i tried loadtxt and genfromtxt and am
> having similar problems. my data looks like this:
>
> my;header1 myheader-2_amyheader-2_b
> a:5-X:b 3;0;5;0;0;0 3.015
> c:6-Y:d 0;0;0;0;0;0 2.5
>
>
hi all,
thanks for these comments. i tried loadtxt and genfromtxt and am
having similar problems. my data looks like this:
my;header1 myheader-2_amyheader-2_b
a:5-X:b 3;0;5;0;0;0 3.015
c:6-Y:d 0;0;0;0;0;0 2.5
i simply want to read these in, and have all numbers be read in as
On Wed, Aug 12, 2009 at 10:01 AM, Sandro Tosi wrote:
> On Wed, Aug 12, 2009 at 16:56, per freem wrote:
> > hi all,
> >
> > i have tab-separated text files that i would like to parse into arrays
> > in numpy/scipy. i simply want to be able to read in the data into an
>
> numpy's loadtxt()
With n
On Wed, Aug 12, 2009 at 16:56, per freem wrote:
> hi all,
>
> i have tab-separated text files that i would like to parse into arrays
> in numpy/scipy. i simply want to be able to read in the data into an
numpy's loadtxt()
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http
hi all,
i have tab-separated text files that i would like to parse into arrays
in numpy/scipy. i simply want to be able to read in the data into an
array, and then use indexing to get some of the columns, or some of
the rows, etc. the key thing is that these columns might be strings or
might be nu