Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 Lib/test/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2178,7 +2178,7 @@ def f(x):
def test_specific_cases_inclusive(self):
# Match results computed by hand and cross-checked
# against the PERCENTILE.INC function in MS Excel
# and against the quaatile() function in SciPy.
# and against the quantile() function in SciPy.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't be better to reference NumPy instead of SciPy?
ref: https://docs.scipy.org/doc/numpy/reference/generated/numpy.quantile.html

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will leave it to @rhettinger on changing scipy to numpy

quantiles = statistics.quantiles
data = [100, 200, 400, 800]
random.shuffle(data)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.