Hi, friends. I wanna ask if there is a function which is able to take a list as argument and then return its top-k maximums?
csjcg2 at gmail.com
Thu Apr 22 10:07:54 EDT 2010
Cool! Thanks a lot! That's exactly what I want.
On Thu, Apr 22, 2010 at 10:04 PM, Chris Rebert <crebert at ucsd.edu> wrote:
> 2010/4/22 Jo Chan <csjcg2 at gmail.com>:
> > Hi,friends.
> > I wanna ask if there is a function which is able to take a list as
> > and then return its top-k maximums?
> > I only know about max which is poorly a top-1 maximum function, now I
> > more yet I am lazy enough that don't want to write one by myself.
信息科学与技术学院 中山大学 广州大学城 510006
School of Information Science & Technology
Sun Yat-sen(Zhongshan) University, Guangzhou Higher Education Mega Center,
Email: csjcg2 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list