[Numpy-discussion] loadtxt and usecols

Bryan Fodness bryan.fodness@gmail....
Sat Jul 12 09:07:06 CDT 2008

i would like to load my data without knowing the length, i have explicitly
stated the rows

data = loadtxt('18B180.dat', skiprows = 1, usecols =
and would like to use something like,

data = loadtxt('18B180.dat', skiprows = 1, usecols = (1,:))

the first column is the only that i do not need.

"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo

"Any intelligent fool can make things bigger, more complex, and more
violent. It takes a touch of genius - and a lot of courage - to move in the
opposite direction. " -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080712/cf803e23/attachment.html 

More information about the Numpy-discussion mailing list