[SciPy-user] what type of data for scipy.stats.mannwhitneyu ?
Robert Kern
robert.kern at gmail.com
Tue Nov 29 15:18:01 EST 2005
Eric Emsellem wrote:
> Hi,
> I am trying to compare two datasets with scipy.stats.mannwhitneyu(x,y).
> HOwever I cannot make it work. It always gives me:
>
> TypeError: data type not understood
> or
> TypeError: Not a numeric type
You should always post at least the part of the traceback that shows the
line that's throwing the exception. In this case:
x,y = asarray(x, y)
I don't understand why anyone ever thought that would work, but it's
fixed now in SVN. x and y should both be rank-1 arrays, possibly of
different lengths.
--
Robert Kern
robert.kern at gmail.com
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the SciPy-User
mailing list