FunctionRacerProblemsRace

Two Groups Compared

MediumSciPyPython

Two groups took the same test. Return the p-value of a two-sided t-test for a difference in their means that does not assume the two groups have equal variances (Welch's test).

Example 1

a [1,2,3,4,5]
b [1,2,3,4,5]
returns 1.0

The two groups are identical.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More SciPy problems