Topk is a bad choice imo. I initially parsed it as to_pk, and had no idea what that was, although sounded a lot like a scipy signal function. Nlargest would be very obvious.
On Sun, May 30, 2021, 7:50 AM Alan G. Isaac <[email protected]> wrote: > Mathematica and Julia both seem relevant here. > Mma has TakeLargest (and Wolfram tends to think hard about names). > https://reference.wolfram.com/language/ref/TakeLargest.html > Julia's closest comparable is perhaps partialsortperm: > https://docs.julialang.org/en/v1/base/sort/#Base.Sort.partialsortperm > Alan Isaac > > > > On 5/30/2021 4:40 AM, [email protected] wrote: > > Hi, Thanks for reply, I present some details below: > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] https://mail.python.org/mailman/listinfo/numpy-discussion
