[SciPy-dev] percentileofscore in svn
Sat Nov 22 11:32:47 CST 2008
On Sat, Nov 22, 2008 at 11:55 AM, Ariel Rokem <firstname.lastname@example.org> wrote:
> Hi Josef - cool reworking of the function. I am not quite following - what
> do you mean "handle a vector of scores at the same
evaluate for several scores at the same time:
a = [1,2,3,4,5,6,7,8,9,10]
for s in [4,5,8]:
For example if "a" are the student grades, then
would give you the ranking of every student.
percentileofscore(a,[4,5,8], kind = 'weak') would provide empirical
cumulative frequency for 4,5,8
But I didn't see a way of gaining much in the function compared to the
simple for loop.
More information about the Scipy-dev