Commit 9b51570f authored by Raymond Hettinger's avatar Raymond Hettinger Committed by GitHub

bpo-36324: Apply review comment from Jake Vanderplas (GH-15695)

parent e4810b2a
...@@ -727,9 +727,9 @@ Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles ...@@ -727,9 +727,9 @@ Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles
.. doctest:: .. doctest::
>>> [round(sat.inv_cdf(p)) for p in (0.25, 0.50, 0.75)] >>> list(map(round, quantiles(sat)))
[928, 1060, 1192] [928, 1060, 1192]
>>> [round(sat.inv_cdf(p / 10)) for p in range(1, 10)] >>> list(map(round, quantiles(sat, n=10)))
[810, 896, 958, 1011, 1060, 1109, 1162, 1224, 1310] [810, 896, 958, 1011, 1060, 1109, 1162, 1224, 1310]
To estimate the distribution for a model than isn't easy to solve To estimate the distribution for a model than isn't easy to solve
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment