From 4efc272a59ad0424304bddc0c37472cb5e49a1e8 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 1 May 2022 23:10:07 +0200 Subject: [PATCH] Export right columns for states --- csvprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csvprocess.py b/csvprocess.py index fdbf588..08a4f33 100755 --- a/csvprocess.py +++ b/csvprocess.py @@ -228,7 +228,7 @@ if __name__ == '__main__': ## Create states capitals states_capitals = states[['CHEFLIEU','REG']] states_capitals.columns = ["CHEFLIEUREG","REG"] - departments = departments[["REG","NCC","LIBELLE"]] + states = states[[ "REG","NCC","LIBELLE"]] logger.debug(states_capitals) ## create statistics dataframes