mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 01:31:25 -08:00
Update to comparator tool to create output folder if it does not exist
This commit is contained in:
parent
7af92f575b
commit
aa7d12b570
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ def _generate_delta(prod_df: pd.DataFrame, local_df: pd.DataFrame):
|
|||
f" There are {len(comparison_results_df.index):,} tracts with at least one difference.\n"
|
||||
)
|
||||
|
||||
WORKING_PATH.mkdir(parents=True, exist_ok=True)
|
||||
comparison_path = WORKING_PATH / "deltas.csv"
|
||||
comparison_results_df.to_csv(path_or_buf=comparison_path)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue