Morning,

My apologies if this deviates from the vision of numpy:

I find myself often requiring the indices and/or values of the top (or bottom) k items in a numpy array. 

I am aware of solutions involving partition/argpartition but these are inelegant.

I am thinking of 1-dimensional arrays, but this concept extends to an arbitrary number of dimensions. 

Is this a feature that would benefit the numpy package? I am happy to code it up.

Thanks for your time! 

Best regards 
Joe