[Numpy-discussion] numpy apply_along_axis named arguments

Albert Jornet Puig albert.jornet at ic3.cat
Thu Mar 6 07:23:17 EST 2014


Please, find below the patch file for numpy 1.8.0

http://pastebin.com/D33fFpjH

On 06/03/14 12:17, Albert Jornet Puig wrote:
> Hi All,
>
> I am working with *apply_along_axis* method and I would like to apply 
> a method that requires to pass named arguments 
> (scipy.stats.mstats.mquantiles with prob[]). But currently, it is not 
> possible with *apply_along_axis*.
>
> I wonder if it would make sense to add the possibility to pass named 
> arguments. I am also aware that It could be implement using other ways 
> (a loop for each row). That's why I would like to ask whether it makes 
> sense or not to ask for this.
>
> Even though, I managed to modify the code, which is simple.
>
> http://pastebin.com/pBn0TbgK
>
>
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140306/9131dc9e/attachment.html>


More information about the NumPy-Discussion mailing list