Create capitals dataframes
This commit is contained in:
parent
8490d85ab6
commit
aa2eebabba
1 changed files with 11 additions and 0 deletions
11
create_db.py
11
create_db.py
|
@ -179,5 +179,16 @@ if __name__ == '__main__':
|
||||||
index=[1,2,3,4,5,6,7])
|
index=[1,2,3,4,5,6,7])
|
||||||
logger.debug(indicators)
|
logger.debug(indicators)
|
||||||
|
|
||||||
|
## Create departments capitals
|
||||||
|
dep_capitals = departments[['CHEFLIEU','DEP']]
|
||||||
|
dep_capitals.columns = ["CHEFLIEUDEP","DEP"]
|
||||||
|
departments = departments[["DEP","NCC","LIBELLE","REG"]]
|
||||||
|
logger.debug(dep_capitals)
|
||||||
|
|
||||||
|
## Create states capitals
|
||||||
|
states_capitals = states[['CHEFLIEU','REG']]
|
||||||
|
states_capitals.columns = ["CHEFLIEUREG","REG"]
|
||||||
|
departments = departments[["REG","NCC","LIBELLE"]]
|
||||||
|
logger.debug(states_capitals)
|
||||||
|
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue