misikoff commited on
Commit
73d24bf
1 Parent(s): bd5d380
Files changed (1) hide show
  1. zillow.py +2 -4
zillow.py CHANGED
@@ -132,9 +132,7 @@ 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="Size Rank"
137
- ),
138
  "Median Sale Price per Sqft": datasets.Value(
139
  dtype="float32", id="Size Rank"
140
  ),
@@ -257,7 +255,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
257
  "State": data["State"],
258
  "Home Type": data["Home Type"],
259
  "Date": data["Date"],
260
- "Median Sale Price": data["Size Rank"],
261
  "Median Sale Price per Sqft": data["Size Rank"],
262
  "Sales Count": data["Size Rank"],
263
  # "answer": "" if split == "test" else data["answer"],
 
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
+ "Sale Price": datasets.Value(dtype="float32", id="Sale Price"),
 
 
136
  "Median Sale Price per Sqft": datasets.Value(
137
  dtype="float32", id="Size Rank"
138
  ),
 
255
  "State": data["State"],
256
  "Home Type": data["Home Type"],
257
  "Date": data["Date"],
258
+ "Sale Price": data["Sale Price"],
259
  "Median Sale Price per Sqft": data["Size Rank"],
260
  "Sales Count": data["Size Rank"],
261
  # "answer": "" if split == "test" else data["answer"],