Re: [Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread Charles R Harris
On Sun, Mar 9, 2008 at 2:57 AM, mani sabri <[EMAIL PROTECTED]> wrote: > Hello > > Is it possible to create a numpy array from an array of a C structure like > this? > > struct RateInfo > { > unsigned int ctm; > doubleopen; > doublelow; > doublehigh

Re: [Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread Robert Kern
On Sun, Mar 9, 2008 at 2:57 AM, mani sabri <[EMAIL PROTECTED]> wrote: > Hello > > Is it possible to create a numpy array from an array of a C structure like > this? > > struct RateInfo > { >unsigned int ctm; >doubleopen; >doublelow; >double

[Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread mani sabri
Hello Is it possible to create a numpy array from an array of a C structure like this? struct RateInfo { unsigned int ctm; doubleopen; doublelow; doublehigh; doubleclose; doublevol; }; I am embedding python in