From b76659bf1f0dce9fb1f43f015d5488d3a1000215 Mon Sep 17 00:00:00 2001 From: Srikiran Date: Sat, 17 Sep 2016 12:36:02 -0700 Subject: [PATCH] DOC: Replace 'first' by 'smallest' in mode --- scipy/stats/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipy/stats/stats.py b/scipy/stats/stats.py index 2a7a27d34c00..789f612a04b8 100644 --- a/scipy/stats/stats.py +++ b/scipy/stats/stats.py @@ -378,7 +378,7 @@ def mode(a, axis=0, nan_policy='propagate'): """ Returns an array of the modal (most common) value in the passed array. - If there is more than one such value, only the first is returned. + If there is more than one such value, only the smallest is returned. The bin-count for the modal bins is also returned. Parameters