misikoff commited on
Commit
e5d0972
1 Parent(s): 73d24bf
Files changed (1) hide show
  1. zillow.py +5 -5
zillow.py CHANGED
@@ -133,10 +133,10 @@ class NewDataset(datasets.GeneratorBasedBuilder):
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
  ),
139
- "Sales Count": datasets.Value(dtype="int32", id="Size Rank"),
140
  # These are the features of your dataset like images, labels ...
141
  }
142
  )
@@ -256,8 +256,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
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"],
262
  }
263
  # else:
 
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
+ "Sale Price per Sqft": datasets.Value(
137
+ dtype="float32", id="Sale Price per Sqft"
138
  ),
139
+ "Count": datasets.Value(dtype="int32", id="Count"),
140
  # These are the features of your dataset like images, labels ...
141
  }
142
  )
 
256
  "Home Type": data["Home Type"],
257
  "Date": data["Date"],
258
  "Sale Price": data["Sale Price"],
259
+ "Sale Price per Sqft": data["Sale Price per Sqft"],
260
+ "Count": data["Count"],
261
  # "answer": "" if split == "test" else data["answer"],
262
  }
263
  # else: