Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. df = pd.read_csv("data.csv")
  2.  
  3. scoruri = df.groupby("Operatie").Scor
  4.  
  5. for x, y in itertools.combinations(scoruri, 2):
  6.     print "'" + x[0] + "'" + " VS " + "'" + y[0] + "'"
  7.     statistic, pvalue = sp.stats.mannwhitneyu(x[1], y[1])
  8.     print "P Value = " + str(pvalue)
  9.     print "\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement