Adter trying the same thing in matlab, I realized that my "tsv" file is not
matrix-style. But this I mean, not all lines ave the same lenght (not the
same number of values).
What would be the best way to load this?
Regards,
Nathan
--
View this message in context:
http://www.nabble.com/numpy-l
Hi,
I am trying to load a tsv file using numpy.loadtxt:
data = np.loadtxt('data.txt',delimiter='\t',dtype=np.float)
And I get:
-
/usr/lib/python2.6/site-packages/numpy/lib/io.pyc in loadtxt(fname, dtype,
comments, delimiter, converters, skiprows, usecols, unpack)
503