Python use growing or shrinking

Erik Max Francis max at alcyone.com
Fri Jan 24 01:38:29 CET 2003


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.

Not that what we're measuring has much intrinsic value, anyway.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ An undevout astronomer is mad.
\__/ Edward Young
    Bosskey.net: Quake III Arena / http://www.bosskey.net/q3a/
 A personal guide to Quake III Arena.




More information about the Python-list mailing list