def lranksums(x,y):
    n1 = len(x)
    n2 = len(y)
    alldata = x+y
    ranked = rankdata(alldata)
    x = ranked[:n1]
    y = ranked[n1:]
    s = sum(x)
    expected = n1*(n1+n2+1) / 2.0
    z = (s - expected) / math.sqrt(n1*n2*(n1+n2+1)/12.0)
    prob = 2*(1.0 -zprob(abs(z)))
    return z, prob
Grant privileges with no parameters
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/lranksums--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_grant_privileges.py/TestGrantPrivileges.test_admin_grant_privileges_no_parameters