Created
September 11, 2016 21:37
-
-
Save Fak3/f681e621353394372dd08d00360a7757 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
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from pandas import read_csv | |
csv = read_csv('doma_uik_okruga.csv') | |
for raion, rdata in csv[csv['округ Дума']==216].groupby(['Район']): | |
print('\n РАЙОН', raion) | |
for ulica, udata in rdata.groupby('Улица'): | |
print(ulica, ' '.join(udata['Дом'].get_values())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment