Skip to content

Commit

Permalink
bpo-36324: Apply review comment from Jake Vanderplas (pythonGH-15695)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger authored and DinoV committed Jan 14, 2020
1 parent c870dc4 commit e0e21be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -727,9 +727,9 @@ Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles

.. doctest::

>>> [round(sat.inv_cdf(p)) for p in (0.25, 0.50, 0.75)]
>>> list(map(round, quantiles(sat)))
[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]

To estimate the distribution for a model than isn't easy to solve
Expand Down

0 comments on commit e0e21be

Please sign in to comment.