[Numpy-discussion] missing function in numpy.ma?
Charles Doutriaux
doutriaux1@llnl....
Wed Apr 2 10:42:47 CDT 2008
Hi Travis,
Thanks,
I'll fix this and let you know. (probably tomorrow because I came down
with some nasty "real" bug... flue or something like that)
C.
Travis E. Oliphant wrote:
> Charles Doutriaux wrote:
>
>> 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 think the problem here is that numpy.core.ma is no longer the correct
> place. This should be
>
> numpy.oldnumeric.ma.take because numpy.oldnumeric.ma is the correct
> location.
>
> In my mind you shouldn't really have been using "numpy.core.ma", but
> instead numpy.ma because whether things are in core or lib could change
> ;-)
>
> -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