Commit 272d0d01 authored by Raymond Hettinger's avatar Raymond Hettinger Committed by GitHub

bpo-36546: No longer a need to make "data" positional only (GH-16252)

parent b9877cd2
...@@ -615,7 +615,7 @@ def multimode(data): ...@@ -615,7 +615,7 @@ def multimode(data):
# position is that fewer options make for easier choices and that # position is that fewer options make for easier choices and that
# external packages can be used for anything more advanced. # external packages can be used for anything more advanced.
def quantiles(data, /, *, n=4, method='exclusive'): def quantiles(data, *, n=4, method='exclusive'):
"""Divide *data* into *n* continuous intervals with equal probability. """Divide *data* into *n* continuous intervals with equal probability.
Returns a list of (n - 1) cut points separating the intervals. Returns a list of (n - 1) cut points separating the intervals.
......
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