def mw_t(x, y, continuity=True, two_sided=True):
 (u, pval) = mannwhitneyu(x, y, continuity)
 if two_sided:
  return (u, (2.0 * pval))
 else:
  return (u, pval)

def mw_t ( x , y , continuity = True , two_sided = True ) : ( u , pval ) = mannwhitneyu ( x , y , continuity ) if two_sided : return ( u , ( 2.0 * pval ) ) else : return ( u , pval )
compute the mann whitney u statistic using scipy .