Commit fdd6e0bf authored by Tal Einat's avatar Tal Einat Committed by GitHub

bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587)

parent 4a6e7460
......@@ -169,6 +169,10 @@ However, for reading convenience, most of the examples show sorted sequences.
This is suited for when your data is discrete, and you don't mind that the
median may not be an actual data point.
If your data is ordinal (supports order operations) but not numeric (doesn't
support addition), you should use :func:`median_low` or :func:`median_high`
instead.
.. seealso:: :func:`median_low`, :func:`median_high`, :func:`median_grouped`
......
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