On 19. aug. 2011, at 19.57, Ian wrote:
> Right. I'm new to NumPy so I figured I'd check if there was some nifty way of
> preserving the shape without storing it in the database that I hadn't
> discovered yet. No worries, I'll store the shape alongside the array. Thanks
> for the reply.
>
I lo
_
>From: Olivier Delalleau
>To: Discussion of Numerical Python
>Sent: Friday, August 19, 2011 11:44 AM
>Subject: Re: [Numpy-discussion] Reconstruct multidimensional array from buffer
>without shape
>
>
>How could it be possible? If you only have the buffer dat
How could it be possible? If you only have the buffer data, there could be
many different valid shapes associated to this data.
-=- Olivier
2011/8/19 Ian
> Hello list,
>
> I am storing a multidimensional array as binary in a Postgres 9.04
> database. For retrieval of this array from the databas
Hello list,
I am storing a multidimensional array as binary in a Postgres 9.04 database.
For retrieval of this array from the database I thought frombuffer() was my
solution, however I see that this constructs a one-dimensional array. I read in
the documentation about the buffer parameter in th