misikoff commited on
Commit
dea1e23
1 Parent(s): c1ba8c9
processed/new_constructions/{final.jsonl → final-1.jsonl} RENAMED
File without changes
zillow.py CHANGED
@@ -132,12 +132,12 @@ class NewDataset(datasets.GeneratorBasedBuilder):
132
  "State": datasets.Value(dtype="string", id="State"),
133
  "Home Type": datasets.Value(dtype="string", id="Home Type"),
134
  "Date": datasets.Value(dtype="string", id="Date"),
135
- # "Median Sale Price": datasets.Value(
136
- # dtype="float32", id="Median Sale Price"
137
- # ),
138
- # "Median Sale Price per Sqft": datasets.Value(
139
- # dtype="float32", id="Median Sale Price per Sqft"
140
- # ),
141
  "Sales Count": datasets.Value(dtype="int32", id="Sales Count"),
142
  # These are the features of your dataset like images, labels ...
143
  }
@@ -257,10 +257,10 @@ class NewDataset(datasets.GeneratorBasedBuilder):
257
  "State": data["State"],
258
  "Home Type": data["Home Type"],
259
  "Date": data["Date"],
260
- # "Median Sale Price": data["Median Sale Price"],
261
- # "Median Sale Price per Sqft": data[
262
- # "Median Sale Price per Sqft"
263
- # ],
264
  "Sales Count": data["Sales Count"],
265
  # "answer": "" if split == "test" else data["answer"],
266
  }
 
132
  "State": datasets.Value(dtype="string", id="State"),
133
  "Home Type": datasets.Value(dtype="string", id="Home Type"),
134
  "Date": datasets.Value(dtype="string", id="Date"),
135
+ "Median Sale Price": datasets.Value(
136
+ dtype="float32", id="Median Sale Price"
137
+ ),
138
+ "Median Sale Price per Sqft": datasets.Value(
139
+ dtype="float32", id="Median Sale Price per Sqft"
140
+ ),
141
  "Sales Count": datasets.Value(dtype="int32", id="Sales Count"),
142
  # These are the features of your dataset like images, labels ...
143
  }
 
257
  "State": data["State"],
258
  "Home Type": data["Home Type"],
259
  "Date": data["Date"],
260
+ "Median Sale Price": data["Median Sale Price"],
261
+ "Median Sale Price per Sqft": data[
262
+ "Median Sale Price per Sqft"
263
+ ],
264
  "Sales Count": data["Sales Count"],
265
  # "answer": "" if split == "test" else data["answer"],
266
  }