FunctionRacerProblemsRace

Which Way It Leans

BeginnerSciPyPython

Return the skewness of values: 0 for a symmetric data set, positive when the long tail is on the high side, negative when it is on the low side.

Example 1

values [1,2,3,4,5]
returns 0.0

The values are spread evenly around 3.

Example 2

values [1,1,1,1,10]
returns 1.5000000000000004

One value far above the rest: a long tail on the high side.

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