I could not find a good/sensible-looking Gini Coefficient function in Python
so I wrote one:https://github.com/oliviaguest/gini …
-
-
Replying to @o_guest
PS: compared it vs one that is sensible and answers are comparable - though slight differences (after 6+ decimals): http://pysal.readthedocs.io/en/latest/_modules/pysal/inequality/gini.html …
1 reply 0 retweets 0 likes -
Replying to @o_guest
Although! Mine doesn't break my pc when I run it on the actual big data so pysal is not as good and/or mine is simpler to use
2 replies 0 retweets 0 likes
Apparently their use of list comprehensions breaks it. I use numpy to calculate the same & it doesn't implode when doing huge arrays. 
8:58 AM - 29 Jul 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.