On 3/4/2009 12:57 PM, Sturla Molden wrote:
> Does this work for you?
Never mind, it seems my e-mail got messed up. I ought to keep them
sorted by date...
S.M.
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mail
On 2/11/2009 6:40 AM, A B wrote:
> Hi,
>
> How do I write a loadtxt command to read in the following file and
> store each data point as the appropriate data type:
>
> 12|h|34.5|44.5
> 14552|bbb|34.5|42.5
> dt = {'names': ('gender','age','weight','bal'), 'formats': ('i4',
> 'S4','f4', 'f4')}
Do
> 2009/2/12 A B :
> Actually, I was using two different machines and it appears that the
> version of numpy available on Ubuntu is seriously out of date (1.0.4).
> Wonder why ...
See the recent post here
http://projects.scipy.org/pipermail/numpy-discussion/2009-February/040252.html
Cheers,
Scott
On Wed, Feb 11, 2009 at 6:27 PM, A B wrote:
> On Tue, Feb 10, 2009 at 9:52 PM, Brent Pedersen wrote:
>> On Tue, Feb 10, 2009 at 9:40 PM, A B wrote:
>>> Hi,
>>>
>>> How do I write a loadtxt command to read in the following file and
>>> store each data point as the appropriate data type:
>>>
>>> 1
On Tue, Feb 10, 2009 at 9:52 PM, Brent Pedersen wrote:
> On Tue, Feb 10, 2009 at 9:40 PM, A B wrote:
>> Hi,
>>
>> How do I write a loadtxt command to read in the following file and
>> store each data point as the appropriate data type:
>>
>> 12|h|34.5|44.5
>> 14552|bbb|34.5|42.5
>>
>> Do the stri
On Tue, Feb 10, 2009 at 9:40 PM, A B wrote:
> Hi,
>
> How do I write a loadtxt command to read in the following file and
> store each data point as the appropriate data type:
>
> 12|h|34.5|44.5
> 14552|bbb|34.5|42.5
>
> Do the strings have to be read in separately from the numbers?
>
> Why would a
Hi,
How do I write a loadtxt command to read in the following file and
store each data point as the appropriate data type:
12|h|34.5|44.5
14552|bbb|34.5|42.5
Do the strings have to be read in separately from the numbers?
Why would anyone use 'S10' instead of 'string'?
dt = {'names': ('gender',