[Numpy-discussion] Reverse parameter in ordering functions

Sebastian Berg sebastian at sipsolutions.net
Wed Nov 27 11:57:56 EST 2019


On Wed, 2019-11-27 at 10:00 -0700, mpro wrote:
> Hi all,
> 
> I created pull request #14989, which adds reverse parameter in
> np.sort
> function.
> 
> As suggested in the comments, I want to ask for some feedback on
> adding
> parameter 'reverse' . Not only in sort, but in ordering functions in
> general.
> 

Since the standard python functions all have the `reverse` parameter,
it seems like a good idea to me.

I agree that when we add it, it probably would be good to aim for
adding it for all sorting related functions at the same time.

Best,

Sebastian



> Magdalena
> 
> 
> 
> --
> Sent from: http://numpy-discussion.10968.n7.nabble.com/
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20191127/641b31a4/attachment.sig>


More information about the NumPy-Discussion mailing list