Tue, 29 Sep 2009 11:08:42 +0200, Michael.Walker wrote:
[clip]
> I am referring to the behaviour of numpy.numarray.transpose() being that
> of numpy.transpose() instead of numarray.transpose. One expects that
You probably mean the transpose methods numpy.numarray.ndarray.transpose
and numarray.nda
> On 09/28/2009 03:15 AM, Pauli Virtanen wrote:
>> Mon, 28 Sep 2009 10:07:47 +0200, Michael.Walker wrote:
>> [clip]
>>
>>> In [7]: f = f.transpose()
>>>
>>> In [8]: print f
>>> [[1 3]
>>> [2 4]]
>>>
>>> as expected. I mention this because I think that it is worth knowing
>>> having lost a LOT o
Mon, 28 Sep 2009 09:29:30 -0500, Bruce Southey wrote:
[clip]
> This is not a bug! This specific difference between numpy and numarray
> is documented on the 'converting from numarray' page:
> http://www.scipy.org/Converting_from_numarray
Oh. I completely missed that page. Now, it should just be tr
On 09/28/2009 03:15 AM, Pauli Virtanen wrote:
> Mon, 28 Sep 2009 10:07:47 +0200, Michael.Walker wrote:
> [clip]
>
>> In [7]: f = f.transpose()
>>
>> In [8]: print f
>> [[1 3]
>> [2 4]]
>>
>> as expected. I mention this because I think that it is worth knowing
>> having lost a LOT of time to
Mon, 28 Sep 2009 10:07:47 +0200, Michael.Walker wrote:
[clip]
> In [7]: f = f.transpose()
>
> In [8]: print f
> [[1 3]
> [2 4]]
>
> as expected. I mention this because I think that it is worth knowing
> having lost a LOT of time to it. Is it worth filing as a bug report?
Yes. It indeed seems t
Hello list,
I just thought I'd point out a difference between 'import numarray'
and 'import numpy.numarray' . Consider the following
In [1]: from numpy.numarray import *
In [2]: d = array((1,2,3,4))
In [3]: f = reshape(d,(2,2))
In [4]: print f
[[1 2]
[3 4]]
In [5]: f.transpose()
Out[5]:
a