Last active
November 2, 2015 10:02
-
-
Save dhesse/513bddc99fbc9f43367a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you'll need the Greenville gist as well: | |
# https://gist.github.com/dhesse/aa2e2425548bf3e4ceb7 | |
from greenville import compareVisuallyToBenford, data | |
indices = data.Amount >= 10 | |
vc25 = data[indices][data.Amount[indices]\ | |
.apply(lambda x: int(str(x)[:2])) == 25]['Vendor Name'].value_counts() | |
print vc25[vc25 > 10] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment