[Numpy-discussion] EHN: Discusions about 'add numpy.topk'

Alan G. Isaac alan.isaac at gmail.com
Sun May 30 07:50:17 EDT 2021


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, kangkai at mail.ustc.edu.cn wrote:
> Hi, Thanks for reply, I present some details below:


More information about the NumPy-Discussion mailing list