fix: break cache
Browse files- processed/for_sale_listings/{final.jsonl β final1.jsonl} +0 -0
- processed/home_value_forecasts/{final.jsonl β final1.jsonl} +0 -0
- processed/home_values/{final.jsonl β final1.jsonl} +0 -0
- processed/new_constructions/{final.jsonl β final1.jsonl} +0 -0
- processed/rentals/{final.jsonl β final1.jsonl} +0 -0
- processed/sales/{final.jsonl β final1.jsonl} +0 -0
- zillow.py +10 -6
processed/for_sale_listings/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
processed/home_value_forecasts/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
processed/home_values/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
processed/new_constructions/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
processed/rentals/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
processed/sales/{final.jsonl β final1.jsonl}
RENAMED
File without changes
|
zillow.py
CHANGED
@@ -133,11 +133,13 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
133 |
"State": datasets.Value(dtype="string", id="State"),
|
134 |
"Home Type": datasets.Value(dtype="string", id="Home Type"),
|
135 |
"Date": datasets.Value(dtype="string", id="Date"),
|
136 |
-
"Sale Price": datasets.Value(
|
137 |
-
|
|
|
|
|
138 |
dtype="float32", id="Sale Price per Sqft"
|
139 |
),
|
140 |
-
"Count": datasets.Value(dtype="int32", id="Count"),
|
141 |
}
|
142 |
)
|
143 |
elif self.config.name == "for_sale_listings":
|
@@ -378,9 +380,11 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
378 |
"State": data["State"],
|
379 |
"Home Type": data["Home Type"],
|
380 |
"Date": data["Date"],
|
381 |
-
"Sale Price": data["Sale Price"],
|
382 |
-
"Sale Price per Sqft": data[
|
383 |
-
|
|
|
|
|
384 |
}
|
385 |
elif self.config.name == "for_sale_listings":
|
386 |
yield key, {
|
|
|
133 |
"State": datasets.Value(dtype="string", id="State"),
|
134 |
"Home Type": datasets.Value(dtype="string", id="Home Type"),
|
135 |
"Date": datasets.Value(dtype="string", id="Date"),
|
136 |
+
"Median Sale Price": datasets.Value(
|
137 |
+
dtype="float32", id="Median Sale Price"
|
138 |
+
),
|
139 |
+
"Median Sale Price per Sqft": datasets.Value(
|
140 |
dtype="float32", id="Sale Price per Sqft"
|
141 |
),
|
142 |
+
"Sales Count": datasets.Value(dtype="int32", id="Sales Count"),
|
143 |
}
|
144 |
)
|
145 |
elif self.config.name == "for_sale_listings":
|
|
|
380 |
"State": data["State"],
|
381 |
"Home Type": data["Home Type"],
|
382 |
"Date": data["Date"],
|
383 |
+
"Median Sale Price": data["Median Sale Price"],
|
384 |
+
"Median Sale Price per Sqft": data[
|
385 |
+
"Median Sale Price per Sqft"
|
386 |
+
],
|
387 |
+
"Sales Count": data["Sales Count"],
|
388 |
}
|
389 |
elif self.config.name == "for_sale_listings":
|
390 |
yield key, {
|