Le jeudi 21 septembre 2006 19:01, Travis Oliphant a écrit :
> Lionel Roubeyrie wrote:
> > find any solution for that. I have tried with arrays of dtype=object, but
> > I have problem when I want to compute min, max, ... with an error like:
> > TypeError: function not supported
dtype=object, but I
have problem when I want to compute min, max, ... with an error like:
TypeError: function not supported for these types, and can't coerce safely to
supported types.
thanks
--
Lionel Roubeyrie - [EMAIL PROTECTED]
LIMAIR
http://www.lima
Le lundi 18 septembre 2006 17:40, Francesc Altet a écrit :
> I'm running NumPy 1.0b5. Please, check that you are using a recent
> version of it.
>
> Cheers,
Arg, sorry, version here was 0.9, an upgrade and it works fine.
thanks again
--
Lionel Roubeyrie - [EMAIL PROTE
3', 'A', '10', 'N'),
('06/01/2006', '41', 'A', '30', 'A'),
('07/01/2006', '20', 'A', '16',
Le vendredi 15 septembre 2006 16:05, Francesc Altet a écrit :
> Another possibility is to play with columns directly from the initial
> recarray. The next is an example:
>
> In [101]: ra=numpy.rec.array("1"*36, dtype="a4,i4,f4", shape=3)
> In [102]: ra
> Out[102]:
> recarray([('', 825307441, 2.
Hi all,
I try to use recarray with rec.fromrecords on time-series, datas come from a
file where they are stored in csv format, with after each data colum there is
one column meanning the state of the data, and the first column is for dates.
Then, is it possible to directly transform column of str