Looks good to me. I committed the patch to the trunk and added a regression
test (r5495).
David
2008/7/18 Charles R Harris [EMAIL PROTECTED]:
On Fri, Jul 18, 2008 at 4:16 PM, Ryan May [EMAIL PROTECTED] wrote:
Hi,
I was trying to use loadtxt() today to read in some text data, and I had
Hi,
I was trying to use loadtxt() today to read in some text data, and I had
a problem when I specified a dtype that only contained as many elements
as in columns in usecols. The example below shows the problem:
import numpy as np
import StringIO
data = '''STID RELH TAIR
JOE 70.1 25.3
BOB
On Fri, Jul 18, 2008 at 4:16 PM, Ryan May [EMAIL PROTECTED] wrote:
Hi,
I was trying to use loadtxt() today to read in some text data, and I had a
problem when I specified a dtype that only contained as many elements as in
columns in usecols. The example below shows the problem:
import