This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients gerion, godfryd, mark.dickinson, rhettinger, steven.daprano
Date 2018-11-04.21:52:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541368350.2.0.788709270274.issue30999@psf.upfronthosting.co.za>
In-reply-to
Content
This issue (as originally proposed) should be closed.  A key function for median() and mode() likely isn't a good idea.  Those two functions should be kept parallel with mean() as returning simple descriptive statistics.  

Work towards a select() function with a key function can be pursued in a separate tracker item.  That would suffice to locate a specific record occurring at a median (or quartile or decile).  FWIW, that is how MS Excel approaches the problem as well (using RANK with INDEX to locate a record by its sort position, leaving AVERAGE, MODE.SNGL, and MEDIAN for straight descriptive statistics).
History
Date User Action Args
2018-11-04 21:52:30rhettingersetrecipients: + rhettinger, mark.dickinson, steven.daprano, godfryd, gerion
2018-11-04 21:52:30rhettingersetmessageid: <1541368350.2.0.788709270274.issue30999@psf.upfronthosting.co.za>
2018-11-04 21:52:30rhettingerlinkissue30999 messages
2018-11-04 21:52:30rhettingercreate