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 mark.dickinson
Recipients mark.dickinson, r.david.murray, steven.daprano, wolma
Date 2015-05-03.06:09:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430633367.4.0.454110411019.issue24068@psf.upfronthosting.co.za>
In-reply-to
Content
> I wonder if it would be better to reject Bool data in this context?

It's not uncommon (and quite useful) in NumPy world to compute basic statistics on arrays of boolean dtype: the sum of such an array gives a count of the `True`s, and the mean gives the proportion of `True` entries.  I think it would be handy to allow the statistics module to work with lists of bools, if possible.
History
Date User Action Args
2015-05-03 06:09:27mark.dickinsonsetrecipients: + mark.dickinson, steven.daprano, r.david.murray, wolma
2015-05-03 06:09:27mark.dickinsonsetmessageid: <1430633367.4.0.454110411019.issue24068@psf.upfronthosting.co.za>
2015-05-03 06:09:27mark.dickinsonlinkissue24068 messages
2015-05-03 06:09:27mark.dickinsoncreate