fix: typo for home value forecasts
Browse files
processed/home_values_forecasts/final2.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:362f909b077ef5da2fb09b1339eb5641d1746435c06bedc2affc70743f13fd3b
|
| 3 |
+
size 13942709
|
processors/home_value_forecasts.ipynb
CHANGED
|
@@ -71,9 +71,9 @@
|
|
| 71 |
" <th>Metro</th>\n",
|
| 72 |
" <th>CountyName</th>\n",
|
| 73 |
" <th>BaseDate</th>\n",
|
| 74 |
-
" <th>Month Over Month % (Smoothed) (
|
| 75 |
-
" <th>Quarter Over Quarter % (Smoothed) (
|
| 76 |
-
" <th>Year Over Year % (Smoothed) (
|
| 77 |
" <th>Month Over Month %</th>\n",
|
| 78 |
" <th>Quarter Over Quarter %</th>\n",
|
| 79 |
" <th>Year Over Year %</th>\n",
|
|
@@ -321,7 +321,7 @@
|
|
| 321 |
"31852 Washington-Arlington-Alexandria, DC-VA-MD-WV Arlington County \n",
|
| 322 |
"31853 North Port-Sarasota-Bradenton, FL Sarasota County \n",
|
| 323 |
"\n",
|
| 324 |
-
" BaseDate Month Over Month % (Smoothed) (
|
| 325 |
"0 2023-12-31 NaN \n",
|
| 326 |
"1 2023-12-31 NaN \n",
|
| 327 |
"2 2023-12-31 0.4 \n",
|
|
@@ -334,7 +334,7 @@
|
|
| 334 |
"31852 2023-12-31 NaN \n",
|
| 335 |
"31853 2023-12-31 NaN \n",
|
| 336 |
"\n",
|
| 337 |
-
" Quarter Over Quarter % (Smoothed) (
|
| 338 |
"0 NaN \n",
|
| 339 |
"1 NaN \n",
|
| 340 |
"2 0.9 \n",
|
|
@@ -347,7 +347,7 @@
|
|
| 347 |
"31852 NaN \n",
|
| 348 |
"31853 NaN \n",
|
| 349 |
"\n",
|
| 350 |
-
" Year Over Year % (Smoothed) (
|
| 351 |
"0 NaN -0.7 \n",
|
| 352 |
"1 NaN -0.7 \n",
|
| 353 |
"2 3.2 -0.6 \n",
|
|
@@ -393,7 +393,7 @@
|
|
| 393 |
" if filename.endswith(\"sm_sa_month.csv\"):\n",
|
| 394 |
" # print('Smoothed')\n",
|
| 395 |
" cur_df.columns = list(cur_df.columns[:-3]) + [\n",
|
| 396 |
-
" x + \" (Smoothed) (
|
| 397 |
" ]\n",
|
| 398 |
" else:\n",
|
| 399 |
" # print('Raw')\n",
|
|
@@ -452,9 +452,9 @@
|
|
| 452 |
" <th>Metro</th>\n",
|
| 453 |
" <th>County</th>\n",
|
| 454 |
" <th>Date</th>\n",
|
| 455 |
-
" <th>Month Over Month % (Smoothed) (
|
| 456 |
-
" <th>Quarter Over Quarter % (Smoothed) (
|
| 457 |
-
" <th>Year Over Year % (Smoothed) (
|
| 458 |
" <th>Month Over Month %</th>\n",
|
| 459 |
" <th>Quarter Over Quarter %</th>\n",
|
| 460 |
" <th>Year Over Year %</th>\n",
|
|
@@ -691,7 +691,7 @@
|
|
| 691 |
"31852 Washington-Arlington-Alexandria, DC-VA-MD-WV Arlington County \n",
|
| 692 |
"31853 North Port-Sarasota-Bradenton, FL Sarasota County \n",
|
| 693 |
"\n",
|
| 694 |
-
" Date Month Over Month % (Smoothed) (
|
| 695 |
"0 2023-12-31 NaN \n",
|
| 696 |
"1 2023-12-31 NaN \n",
|
| 697 |
"2 2023-12-31 0.4 \n",
|
|
@@ -704,7 +704,7 @@
|
|
| 704 |
"31852 2023-12-31 NaN \n",
|
| 705 |
"31853 2023-12-31 NaN \n",
|
| 706 |
"\n",
|
| 707 |
-
" Quarter Over Quarter % (Smoothed) (
|
| 708 |
"0 NaN \n",
|
| 709 |
"1 NaN \n",
|
| 710 |
"2 0.9 \n",
|
|
@@ -717,7 +717,7 @@
|
|
| 717 |
"31852 NaN \n",
|
| 718 |
"31853 NaN \n",
|
| 719 |
"\n",
|
| 720 |
-
" Year Over Year % (Smoothed) (
|
| 721 |
"0 NaN -0.7 \n",
|
| 722 |
"1 NaN -0.7 \n",
|
| 723 |
"2 3.2 -0.6 \n",
|
|
|
|
| 71 |
" <th>Metro</th>\n",
|
| 72 |
" <th>CountyName</th>\n",
|
| 73 |
" <th>BaseDate</th>\n",
|
| 74 |
+
" <th>Month Over Month % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 75 |
+
" <th>Quarter Over Quarter % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 76 |
+
" <th>Year Over Year % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 77 |
" <th>Month Over Month %</th>\n",
|
| 78 |
" <th>Quarter Over Quarter %</th>\n",
|
| 79 |
" <th>Year Over Year %</th>\n",
|
|
|
|
| 321 |
"31852 Washington-Arlington-Alexandria, DC-VA-MD-WV Arlington County \n",
|
| 322 |
"31853 North Port-Sarasota-Bradenton, FL Sarasota County \n",
|
| 323 |
"\n",
|
| 324 |
+
" BaseDate Month Over Month % (Smoothed) (Seasonally Adjusted) \\\n",
|
| 325 |
"0 2023-12-31 NaN \n",
|
| 326 |
"1 2023-12-31 NaN \n",
|
| 327 |
"2 2023-12-31 0.4 \n",
|
|
|
|
| 334 |
"31852 2023-12-31 NaN \n",
|
| 335 |
"31853 2023-12-31 NaN \n",
|
| 336 |
"\n",
|
| 337 |
+
" Quarter Over Quarter % (Smoothed) (Seasonally Adjusted) \\\n",
|
| 338 |
"0 NaN \n",
|
| 339 |
"1 NaN \n",
|
| 340 |
"2 0.9 \n",
|
|
|
|
| 347 |
"31852 NaN \n",
|
| 348 |
"31853 NaN \n",
|
| 349 |
"\n",
|
| 350 |
+
" Year Over Year % (Smoothed) (Seasonally Adjusted) Month Over Month % \\\n",
|
| 351 |
"0 NaN -0.7 \n",
|
| 352 |
"1 NaN -0.7 \n",
|
| 353 |
"2 3.2 -0.6 \n",
|
|
|
|
| 393 |
" if filename.endswith(\"sm_sa_month.csv\"):\n",
|
| 394 |
" # print('Smoothed')\n",
|
| 395 |
" cur_df.columns = list(cur_df.columns[:-3]) + [\n",
|
| 396 |
+
" x + \" (Smoothed) (Seasonally Adjusted)\" for x in cols\n",
|
| 397 |
" ]\n",
|
| 398 |
" else:\n",
|
| 399 |
" # print('Raw')\n",
|
|
|
|
| 452 |
" <th>Metro</th>\n",
|
| 453 |
" <th>County</th>\n",
|
| 454 |
" <th>Date</th>\n",
|
| 455 |
+
" <th>Month Over Month % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 456 |
+
" <th>Quarter Over Quarter % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 457 |
+
" <th>Year Over Year % (Smoothed) (Seasonally Adjusted)</th>\n",
|
| 458 |
" <th>Month Over Month %</th>\n",
|
| 459 |
" <th>Quarter Over Quarter %</th>\n",
|
| 460 |
" <th>Year Over Year %</th>\n",
|
|
|
|
| 691 |
"31852 Washington-Arlington-Alexandria, DC-VA-MD-WV Arlington County \n",
|
| 692 |
"31853 North Port-Sarasota-Bradenton, FL Sarasota County \n",
|
| 693 |
"\n",
|
| 694 |
+
" Date Month Over Month % (Smoothed) (Seasonally Adjusted) \\\n",
|
| 695 |
"0 2023-12-31 NaN \n",
|
| 696 |
"1 2023-12-31 NaN \n",
|
| 697 |
"2 2023-12-31 0.4 \n",
|
|
|
|
| 704 |
"31852 2023-12-31 NaN \n",
|
| 705 |
"31853 2023-12-31 NaN \n",
|
| 706 |
"\n",
|
| 707 |
+
" Quarter Over Quarter % (Smoothed) (Seasonally Adjusted) \\\n",
|
| 708 |
"0 NaN \n",
|
| 709 |
"1 NaN \n",
|
| 710 |
"2 0.9 \n",
|
|
|
|
| 717 |
"31852 NaN \n",
|
| 718 |
"31853 NaN \n",
|
| 719 |
"\n",
|
| 720 |
+
" Year Over Year % (Smoothed) (Seasonally Adjusted) Month Over Month % \\\n",
|
| 721 |
"0 NaN -0.7 \n",
|
| 722 |
"1 NaN -0.7 \n",
|
| 723 |
"2 3.2 -0.6 \n",
|
processors/home_value_forecasts.py
CHANGED
|
@@ -34,7 +34,7 @@ for filename in os.listdir(FULL_DATA_DIR_PATH):
|
|
| 34 |
if filename.endswith("sm_sa_month.csv"):
|
| 35 |
# print('Smoothed')
|
| 36 |
cur_df.columns = list(cur_df.columns[:-3]) + [
|
| 37 |
-
x + " (Smoothed) (
|
| 38 |
]
|
| 39 |
else:
|
| 40 |
# print('Raw')
|
|
@@ -93,4 +93,3 @@ final_df
|
|
| 93 |
|
| 94 |
|
| 95 |
save_final_df_as_jsonl(FULL_PROCESSED_DIR_PATH, final_df)
|
| 96 |
-
|
|
|
|
| 34 |
if filename.endswith("sm_sa_month.csv"):
|
| 35 |
# print('Smoothed')
|
| 36 |
cur_df.columns = list(cur_df.columns[:-3]) + [
|
| 37 |
+
x + " (Smoothed) (Seasonally Adjusted)" for x in cols
|
| 38 |
]
|
| 39 |
else:
|
| 40 |
# print('Raw')
|
|
|
|
| 93 |
|
| 94 |
|
| 95 |
save_final_df_as_jsonl(FULL_PROCESSED_DIR_PATH, final_df)
|
|
|
zillow.py
CHANGED
|
@@ -94,22 +94,22 @@ class Zillow(datasets.GeneratorBasedBuilder):
|
|
| 94 |
"Metro": datasets.Value(dtype="string", id="Metro"),
|
| 95 |
"County": datasets.Value(dtype="string", id="County"),
|
| 96 |
"Date": datasets.Value(dtype="string", id="Date"),
|
| 97 |
-
"Month Over Month % (Smoothed)": datasets.Value(
|
| 98 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 99 |
),
|
| 100 |
-
"Quarter Over Quarter % (Smoothed)": datasets.Value(
|
| 101 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 102 |
),
|
| 103 |
-
"Year Over Year % (Smoothed)": datasets.Value(
|
| 104 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 105 |
),
|
| 106 |
-
"Month Over Month %
|
| 107 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 108 |
),
|
| 109 |
-
"Quarter Over Quarter %
|
| 110 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 111 |
),
|
| 112 |
-
"Year Over Year %
|
| 113 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 114 |
),
|
| 115 |
}
|
|
|
|
| 94 |
"Metro": datasets.Value(dtype="string", id="Metro"),
|
| 95 |
"County": datasets.Value(dtype="string", id="County"),
|
| 96 |
"Date": datasets.Value(dtype="string", id="Date"),
|
| 97 |
+
"Month Over Month % (Smoothed) (Seasonally Adjusted)": datasets.Value(
|
| 98 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 99 |
),
|
| 100 |
+
"Quarter Over Quarter % (Smoothed) (Seasonally Adjusted)": datasets.Value(
|
| 101 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 102 |
),
|
| 103 |
+
"Year Over Year % (Smoothed) (Seasonally Adjusted)": datasets.Value(
|
| 104 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 105 |
),
|
| 106 |
+
"Month Over Month %": datasets.Value(
|
| 107 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 108 |
),
|
| 109 |
+
"Quarter Over Quarter %": datasets.Value(
|
| 110 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 111 |
),
|
| 112 |
+
"Year Over Year %": datasets.Value(
|
| 113 |
dtype="float32", id="Month Over Month % (Smoothed)"
|
| 114 |
),
|
| 115 |
}
|