Created
July 19, 2017 21:23
-
-
Save hunterowens/9d64dd7fc73388bf45ed4af1004ad376 to your computer and use it in GitHub Desktop.
311 Loader and counter
This file contains hidden or 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
| import pandas as pd | |
| df = pd.read_csv('path/to/csv') | |
| df.groupby(['CD','RequestType']).count().to_csv('2016_311_counts.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment