[SciPy-user] Numpy and Pytables

Dave Kuhlman dkuhlman at cutter.rexx.com
Mon Jan 16 12:17:56 CST 2006


On Mon, Jan 16, 2006 at 05:05:58PM +0100, Giovanni Samaey wrote:
> No, but they are working on it -- see a question of mine from last week.
> My current work-around is to copy element by element from a numarray array
> into a scipy array.  (I agree this looks stupid when you read it, but I 
> get all sorts of
> strange errors when I attempt other things.)
> 

This was discussed several weeks ago.  I believe that the solution
offered was to use asarry():

    numarray_array = numarray.asarray(scipy_array)

And:

    scipy_array = scipy.asarray(numarray_array)

If you get strange errors when using these, perhaps you have found
a bug.

Dave


-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman



More information about the SciPy-user mailing list