[Numpy-discussion] missing function in numpy.ma?

Charles Doutriaux doutriaux1@llnl....
Tue Apr 1 12:30:38 CDT 2008


Hi Travis,
Ok we're almost there, in my test suite i get:
    maresult = numpy.core.ma.take(ta, indices, axis=axis)
AttributeError: 'module' object has no attribute 'ma'
    data = numpy.core.ma.take(ax[:], indices)
AttributeError: 'module' object has no attribute 'ma'

I don't know if it was automatically put there by the converter or if we 
put it by hand.

If it's the first one, you might want to correct this, otherwise don't 
worry it's easy enough to fix (i think ?)

C.

Travis E. Oliphant wrote:
> Charles Doutriaux wrote:
>   
>> Hi Travis,
>>
>> I get this:
>>
>>     import numpy, numpy.oldnumeric.ma as MA, numpy.oldnumeric as 
>> Numeric, PropertiedClasses
>>   File 
>> "/lgm/cdat/latest/lib/python2.5/site-packages/numpy/oldnumeric/ma.py", 
>> line 2204, in <module>
>>     array.mean = _m(average)
>> NameError: name 'average' is not defined
>>   
>>     
> Thanks,
>
> Can you try again?
>
> Best regards,
>
> -Travis
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>   


More information about the Numpy-discussion mailing list