Re: [Numpy-discussion] mysql - record array

2006-11-16 Thread Francesc Altet
A Dimarts 14 Novembre 2006 23:08, Erin Sheldon escrigué: On 11/14/06, John Hunter [EMAIL PROTECTED] wrote: Has anyone written any code to facilitate dumping mysql query results (mainly arrays of floats) into numpy arrays directly at the extension code layer. The query results-list-array

Re: [Numpy-discussion] Defining custom types

2006-11-16 Thread David Douard
On Thu, Oct 26, 2006 at 05:26:47PM -0500, Jonathan Wang wrote: I'm trying to write a Numpy extension that will encapsulate mxDateTime as a native Numpy type. I've decided to use a type inherited from Numpy's scalar double. However, I'm running into all sorts of problems. I'm using numpy 1.0b5;

Re: [Numpy-discussion] Defining custom types

2006-11-16 Thread Pierre GM
On Thursday 16 November 2006 11:44, David Douard wrote: Hi, just to ask you: how is the work going on encapsulatinsg mx.DateTime as a native numpy type? And most important: is the code available somewhere? I am also interested in using DateTime objects in numpy arrays. For now, I've always

Re: [Numpy-discussion] mysql - record array

2006-11-16 Thread Tim Hochberg
Francesc Altet wrote: A Dimarts 14 Novembre 2006 23:08, Erin Sheldon escrigué: On 11/14/06, John Hunter [EMAIL PROTECTED] wrote: Has anyone written any code to facilitate dumping mysql query results (mainly arrays of floats) into numpy arrays directly at the extension code layer.

Re: [Numpy-discussion] Defining custom types

2006-11-16 Thread Matt Knox
On Thursday 16 November 2006 11:44, David Douard wrote: Hi, just to ask you: how is the work going on encapsulatinsg mx.DateTime as a native numpy type? And most important: is the code available somewhere? I am also interested in using DateTime objects in numpy arrays. For now, I've

Re: [Numpy-discussion] Defining custom types

2006-11-16 Thread Jonathan Wang
Hi all, I've gotten to the point where Numpy recognizes the objects (represented as doubles), but I haven't figured out how to register ufunc loops on the custom type. It seems like Numpy should be able to check that the scalarkind variable in the numpy type descriptor is set to float and use

[Numpy-discussion] New list address

2006-11-16 Thread Jeff Strunk
Good afternoon, In a few minutes, this list will have a new address. Please send all posts to [EMAIL PROTECTED] . Thank you, Jeff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

[Numpy-discussion] Test - Please ignore

2006-11-16 Thread Robert Kern
This should be rejected. -- Robert Kern I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. -- Umberto Eco