[Numpy-discussion] Re: ndarray.fill and ma.array.filled

Tim Hochberg tim.hochberg at cox.net
Mon Apr 10 19:49:01 CDT 2006


Travis Oliphant wrote:

> Pierre GM wrote:
>
>>> decide to get rid of "putmask".
>>>   
>>
>>
>> "putmask" really seems overkill indeed. I wouldn't miss it.
>>  
>>
>
> I'm not opposed to getting rid of putmask either.   Several of the 
> newer methods are open for discussion before 1.0.   I'd have to check 
> to be sure, but .take and .put are not entirely replaced by 
> fancy-indexing.   Also, fancy indexing has enough overhead that a 
> method doing exactly what you want is faster. 

I'm curious, what use cases does fancy indexing not handle that take 
works for? Not counting speed issues.

Regards,

-tim





More information about the Numpy-discussion mailing list