ay-to-tackle-float-counter-values-in-python
On Tue, Dec 19, 2017 at 3:08 AM Paul Moore wrote:
> On 18 December 2017 at 23:51, Joel Croteau wrote:
> > It would be useful in many scenarios for values in collections.Counter
> to be
> > allowed to be floating point.
>
> Do yo
It would be useful in many scenarios for values in collections.Counter to
be allowed to be floating point. I know that Counter nominally emulates a
multiset, which would suggest only integer values, but in a more general
sense, it could be an accumulator of either floating point or integer data.
As