From a83240433a83cfc57b5633fc1400306d2112d804 Mon Sep 17 00:00:00 2001 From: Avery Schoen <33437601+averyschoen@users.noreply.github.com> Date: Tue, 5 Dec 2023 00:09:34 -0600 Subject: [PATCH] Update pipeline.py import all state cleaners --- utils/pipeline.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/utils/pipeline.py b/utils/pipeline.py index 5e1fe7d..46f7b23 100644 --- a/utils/pipeline.py +++ b/utils/pipeline.py @@ -1,13 +1,14 @@ import pandas as pd +from utils.arizona import ArizonaCleaner +from utils.michigan import MichiganCleaner +from utils.minnesota import MinnesotaCleaner +from utils.pennsylvania import PennsylvaniaCleaner -# import state cleaners here - -# uncomment your state once it is added state_cleaners = [ - # ArizonaCleaner(), - # MichiganCleaner(), - # MinnesotaCleaner(), - # PennsylvaniaCleaner(), + ArizonaCleaner(), + MichiganCleaner(), + MinnesotaCleaner(), + PennsylvaniaCleaner(), ] if __name__ == "__main__": @@ -26,4 +27,4 @@ complete_individuals_table = pd.concat(single_state_individuals_tables) complete_organizations_table = pd.concat(single_state_organizations_tables) - complete_transactions_table = pd.concat(single_state_transactions_tables) + # complete_transactions_table = pd.concat(single_state_transactions_tables)