misikoff commited on
Commit
c1ba8c9
1 Parent(s): e1cbb8f
Files changed (1) hide show
  1. zillow.py +10 -10
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
  }