> 2009/7/23 David Goldsmith :
>
> --- On Thu, 7/23/09, Peter wrote:
>
>> I should have guessed that one. Why isn't numpy.fromstring
>> listed with the
>> other entries in the "From existing data" section here?
>
>> This looks like a simple improvement to the
>> documentation...
>
> Yup, that it is
--- On Thu, 7/23/09, Peter wrote:
> I should have guessed that one. Why isn't numpy.fromstring
> listed with the
> other entries in the "From existing data" section here?
Maybe because it got listed in the I/O category and wasn't to be double listed?
> http://docs.scipy.org/doc/numpy/reference
On Thu, Jul 23, 2009 at 5:07 PM, Charles R
Harris wrote:
>
> One more:
>
> In [1]: fromstring("ABCDEF", dtype=uint8)
> Out[1]: array([65, 66, 67, 68, 69, 70], dtype=uint8)
>
> Chuck
I should have guessed that one. Why isn't numpy.fromstring listed with the
other entries in the "From existing data
On Thu, Jul 23, 2009 at 9:50 AM, Peter <
numpy-discuss...@maubp.freeserve.co.uk> wrote:
> On Thu, Jul 23, 2009 at 3:54 PM, Charles R
> Harris wrote:
> >
> > Would something like
> >
> > In [2]: array("ABCDEF", 'c').view(uint8)
> > Out[2]: array([65, 66, 67, 68, 69, 70], dtype=uint8)
> >
> > work f
On Thu, Jul 23, 2009 at 3:54 PM, Charles R
Harris wrote:
>
> Would something like
>
> In [2]: array("ABCDEF", 'c').view(uint8)
> Out[2]: array([65, 66, 67, 68, 69, 70], dtype=uint8)
>
> work for you?
Yes, that also looks good. I guess I have a couple of options to
benchmark now :)
Thank you,
Pet
On Thu, Jul 23, 2009 at 7:18 AM, Peter <
numpy-discuss...@maubp.freeserve.co.uk> wrote:
> Dear all,
>
> I've looked over some of the documentation for creating an array, e.g.
> http://docs.scipy.org/doc/numpy/user/basics.creation.html#arrays-creation
> http://docs.scipy.org/doc/numpy/reference/rou
Dear all,
I've looked over some of the documentation for creating an array, e.g.
http://docs.scipy.org/doc/numpy/user/basics.creation.html#arrays-creation
http://docs.scipy.org/doc/numpy/reference/routines.array-creation.html
However, I don't see an example quite like what I want to do. I want
to