lorenzo bolla wrote:
> Hi all,
> I've got an easy question for you. I looked in Travis' book, but I
> couldn't figure out the answer...
>
> If I have an array1D (obtained reading a stream of numbers with
> numpy.fromfile) like that:
>
> In [150]: data
> Out[150]: array([ 2., 3., 4., 3.,
On Thu, May 31, 2007 at 12:07:09PM +0200, lorenzo bolla wrote:
> If I have an array1D (obtained reading a stream of numbers with
> numpy.fromfile)
> like that:
>
> In [150]: data
> Out[150]: array([ 2., 3., 4., 3., 4., 5., 4., 5., 6., 5., 6., 7.],
> dtype=float32)
>
> I want it to b
Hi all,
I've got an easy question for you. I looked in Travis' book, but I couldn't
figure out the answer...
If I have an array1D (obtained reading a stream of numbers with
numpy.fromfile) like that:
In [150]: data
Out[150]: array([ 2., 3., 4., 3., 4., 5., 4., 5., 6., 5., 6.,
7.], dtyp