Skip to content

Commit c18d8e1

Browse files
committed
refactor: move geomapper notebook to _delphi_utils
1 parent e94b930 commit c18d8e1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

testing_utils/geo_utility_demonstration.ipynb renamed to _delphi_utils_python/delphi_utils/notebooks/geo_utility_demonstration.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"\n",
2020
"from delphi_utils import GeoMapper\n",
2121
"\n",
22-
"os.chdir(\"_delphi_utils_python/delphi_utils/data/\")"
22+
"os.chdir(\"_delphi_utils_python/delphi_utils/data/2020/\")"
2323
]
2424
},
2525
{
@@ -474,15 +474,14 @@
474474
"source": [
475475
"FIPS_ZIP_OUT_FILENAME = \"fips_zip_table.csv\"\n",
476476
"ZIP_HRR_OUT_FILENAME = \"zip_hrr_table.csv\"\n",
477-
"OUTPUT_DIR = \"../../delphi_utils/data\"\n",
478477
"from os.path import join, isfile\n",
479478
"\n",
480479
"fz_df = pd.read_csv(\n",
481-
" join(OUTPUT_DIR, FIPS_ZIP_OUT_FILENAME),\n",
480+
" FIPS_ZIP_OUT_FILENAME,\n",
482481
" dtype={\"fips\": str, \"zip\": str, \"weight\": float},\n",
483482
")\n",
484483
"zh_df = pd.read_csv(\n",
485-
" join(OUTPUT_DIR, ZIP_HRR_OUT_FILENAME),\n",
484+
" ZIP_HRR_OUT_FILENAME,\n",
486485
" dtype={\"zip\": str, \"hrr\": str},\n",
487486
")\n",
488487
"\n",

0 commit comments

Comments
 (0)