etchall(), dtype=np.float64).ravel()
depends on whether you want to work with 2d or 1d data arrays
Josef
> Thanks again,
> Rui
>
> ____
> From: "josef.p...@gmail.com"
> To: Discussion of Numerical Python
> Sent: Wed, September 8, 2010 2:
_stack and rowvar=0 should work, but it might be easier to get
> rid of the extra dimension that the cursor gives you
>
> e.g.
> rf1 = np.asarray(cursor1.fetchall(), dtype=np.float64).ravel()
>
> depends on whether you want to work with 2d or 1d data arrays
>
> Josef
>
>&
at64).ravel()
depends on whether you want to work with 2d or 1d data arrays
Josef
> Thanks again,
> Rui
>
>
> From: "josef.p...@gmail.com"
> To: Discussion of Numerical Python
> Sent: Wed, September 8, 2010 2:34:42 PM
> Subject: Re: [Numpy-discussion] ValueE
cussion of Numerical Python
Sent: Wed, September 8, 2010 2:34:42 PM
Subject: Re: [Numpy-discussion] ValueError: objects are not aligned
On Wed, Sep 8, 2010 at 8:08 AM, Rui DaCosta wrote:
> Thanks for your assistance,
> I was following this example:
>http://www.scip
[2, 2]])
Josef
> Regards,
> Rui
> ________________
> From: "josef.p...@gmail.com"
> To: Discussion of Numerical Python
> Sent: Wed, September 8, 2010 1:09:46 PM
> Subject: Re: [Numpy-discussion] ValueError: objects are not aligned
>
&g
cussion of Numerical Python
Sent: Wed, September 8, 2010 1:09:46 PM
Subject: Re: [Numpy-discussion] ValueError: objects are not aligned
On Wed, Sep 8, 2010 at 5:42 AM, RuiDC wrote:
>
> I'm getting this error, which must be a simple error in getting the result
> from the cursor in
On Wed, Sep 8, 2010 at 5:42 AM, RuiDC wrote:
>
> I'm getting this error, which must be a simple error in getting the result
> from the cursor in the right shape, how do I get the cursor into the array
> as a single dimension?:
>
> import numpy as np
> import sqlite3
> conn = sqlite3.conne
I'm getting this error, which must be a simple error in getting the result
from the cursor in the right shape, how do I get the cursor into the array
as a single dimension?:
import numpy as np
import sqlite3
conn = sqlite3.connect("simpledb")
cursor1 = conn.execute("select Log