|
# scipy.stats.mstats.mode cannot be used because it will no work |
|
# properly if the first element is masked and if its frequency |
|
# is equal to the frequency of the most frequent valid element |
|
# See https://github.com/scipy/scipy/issues/2636 |
the fix is included in scipy 0.13.0 (see
scipy/scipy@66f71a4), we now require scipy >= 0.17.0