Python use growing or shrinking

Terry Hancock hancock at
Fri Jan 24 09:51:56 CET 2003

Erik Max Francis wrote:
> Terry Hancock wrote:
>> >>> for k,v in kv:
>> ...     print "%s\t%5d\t%5.1f%%" % (k, v, (float(v)/sum)*100)
> It's tempting to scale them all as a percentage of a total, but it has a
> lie-with-statistics flaw:  If you add more languages, it looks like the
> ratings of all the others go down, even though that isn't the case.

Yeah, maybe I should've mentioned that -- one might try to think of these 
numbers as being percentages of "all software development pages", but of 
course, they're not. It's just a percentage of the pages listed.  It might 
make more sense to scale relative to one representative member. But which 

Anansi Spaceworks

More information about the Python-list mailing list