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 oscarbenjamin
Recipients gregory.p.smith, ncoghlan, oscarbenjamin, steven.daprano, wolma
Date 2014-02-02.12:12:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
On 2 February 2014 11:55, Steven D'Aprano <> wrote:
> (1) separate functions, as Nick suggests:
> mean vs weighted_mean, stdev vs weighted_stdev

This would be my preferred approach. It makes it very clear which
functions are available for working with map style data. It will be
clear from both the module documentation and a casual introspection of
the module that those APIs are present for those who might want them.
Also apart from mode() the implementation of each function on
map-format data will be completely different from the iterable version
so you'd want to have it as a separate function at least internally
Date User Action Args
2014-02-02 12:12:32oscarbenjaminsetrecipients: + oscarbenjamin, gregory.p.smith, ncoghlan, steven.daprano, wolma
2014-02-02 12:12:32oscarbenjaminlinkissue20479 messages
2014-02-02 12:12:32oscarbenjamincreate