On 8/28/07, Francesc Altet <[EMAIL PROTECTED]> wrote:
>
> A Monday 27 August 2007, Sean Davis escrigué:
> > On 8/27/07, Sean Davis <[EMAIL PROTECTED]> wrote:
> > > I have a numpy recarray that I want to load into a database using
> > > insert statements. To do so, I need to convert each record to
A Monday 27 August 2007, Sean Davis escrigué:
> On 8/27/07, Sean Davis <[EMAIL PROTECTED]> wrote:
> > I have a numpy recarray that I want to load into a database using
> > insert statements. To do so, I need to convert each record to a
> > tuple. Here is what I get (using psycopg2)
> >
> > In [1]
On 8/27/07, Sean Davis <[EMAIL PROTECTED]> wrote:
>
> I have a numpy recarray that I want to load into a database using insert
> statements. To do so, I need to convert each record to a tuple. Here is
> what I get (using psycopg2)
>
> In [1]: a[1]
> Out[1]: ('5151_0023_0001', 'FORWARD', 'interval
I have a numpy recarray that I want to load into a database using insert
statements. To do so, I need to convert each record to a tuple. Here is
what I get (using psycopg2)
In [1]: a[1]
Out[1]: ('5151_0023_0001', 'FORWARD', 'interval rank', 'target_tm:76.00
;probe_tm:70.90;freq:27.93;count:01;ru