misikoff commited on
Commit
9cb4ac9
1 Parent(s): b3d6e15

fix: cols of sales

Browse files
Files changed (1) hide show
  1. zillow.py +14 -16
zillow.py CHANGED
@@ -199,32 +199,31 @@ class Zillow(datasets.GeneratorBasedBuilder):
199
  "Median Sale Price": datasets.Value(
200
  dtype="float32", id="Median Sale Price"
201
  ),
202
- "% Sold Below List (Smoothed)": datasets.Value(
203
- dtype="float32", id="% Sold Below List (Smoothed)"
204
- ),
205
  "Median Sale Price (Smoothed) (Seasonally Adjusted)": datasets.Value(
206
  dtype="float32",
207
  id="Median Sale Price (Smoothed) (Seasonally Adjusted)",
208
  ),
209
- "% Sold Below List": datasets.Value(
210
- dtype="float32", id="% Sold Below List"
211
- ),
212
  "Median Sale Price (Smoothed)": datasets.Value(
213
  dtype="float32", id="Median Sale Price (Smoothed)"
214
  ),
215
  "Median Sale to List Ratio (Smoothed)": datasets.Value(
216
  dtype="float32", id="Median Sale to List Ratio (Smoothed)"
217
  ),
 
 
 
 
 
 
218
  "% Sold Above List": datasets.Value(
219
  dtype="float32", id="% Sold Above List"
220
  ),
221
- "Nowcast": datasets.Value(dtype="float32", id="Nowcast"),
222
- "Mean Sale to List Ratio": datasets.Value(
223
- dtype="float32", id="Mean Sale to List Ratio"
224
- ),
225
  "% Sold Above List (Smoothed)": datasets.Value(
226
  dtype="float32", id="% Sold Above List (Smoothed)"
227
  ),
 
 
 
228
  }
229
  )
230
  elif self.config.name == "home_values":
@@ -424,25 +423,24 @@ class Zillow(datasets.GeneratorBasedBuilder):
424
  ],
425
  "Median Sale to List Ratio": data["Median Sale to List Ratio"],
426
  "Median Sale Price": data["Median Sale Price"],
427
- "% Sold Below List (Smoothed)": data[
428
- "% Sold Below List (Smoothed)"
429
- ],
430
  "Median Sale Price (Smoothed) (Seasonally Adjusted)": data[
431
  "Median Sale Price (Smoothed) (Seasonally Adjusted)"
432
  ],
433
- "% Sold Below List": data["% Sold Below List"],
434
  "Median Sale Price (Smoothed)": data[
435
  "Median Sale Price (Smoothed)"
436
  ],
437
  "Median Sale to List Ratio (Smoothed)": data[
438
  "Median Sale to List Ratio (Smoothed)"
439
  ],
 
 
 
 
440
  "% Sold Above List": data["% Sold Above List"],
441
- "Nowcast": data["Nowcast"],
442
- "Mean Sale to List Ratio": data["Mean Sale to List Ratio"],
443
  "% Sold Above List (Smoothed)": data[
444
  "% Sold Above List (Smoothed)"
445
  ],
 
446
  }
447
  elif self.config.name == "home_values":
448
  yield key, {
 
199
  "Median Sale Price": datasets.Value(
200
  dtype="float32", id="Median Sale Price"
201
  ),
 
 
 
202
  "Median Sale Price (Smoothed) (Seasonally Adjusted)": datasets.Value(
203
  dtype="float32",
204
  id="Median Sale Price (Smoothed) (Seasonally Adjusted)",
205
  ),
 
 
 
206
  "Median Sale Price (Smoothed)": datasets.Value(
207
  dtype="float32", id="Median Sale Price (Smoothed)"
208
  ),
209
  "Median Sale to List Ratio (Smoothed)": datasets.Value(
210
  dtype="float32", id="Median Sale to List Ratio (Smoothed)"
211
  ),
212
+ "% Sold Below List": datasets.Value(
213
+ dtype="float32", id="% Sold Below List"
214
+ ),
215
+ "% Sold Below List (Smoothed)": datasets.Value(
216
+ dtype="float32", id="% Sold Below List (Smoothed)"
217
+ ),
218
  "% Sold Above List": datasets.Value(
219
  dtype="float32", id="% Sold Above List"
220
  ),
 
 
 
 
221
  "% Sold Above List (Smoothed)": datasets.Value(
222
  dtype="float32", id="% Sold Above List (Smoothed)"
223
  ),
224
+ "Mean Sale to List Ratio": datasets.Value(
225
+ dtype="float32", id="Mean Sale to List Ratio"
226
+ ),
227
  }
228
  )
229
  elif self.config.name == "home_values":
 
423
  ],
424
  "Median Sale to List Ratio": data["Median Sale to List Ratio"],
425
  "Median Sale Price": data["Median Sale Price"],
 
 
 
426
  "Median Sale Price (Smoothed) (Seasonally Adjusted)": data[
427
  "Median Sale Price (Smoothed) (Seasonally Adjusted)"
428
  ],
 
429
  "Median Sale Price (Smoothed)": data[
430
  "Median Sale Price (Smoothed)"
431
  ],
432
  "Median Sale to List Ratio (Smoothed)": data[
433
  "Median Sale to List Ratio (Smoothed)"
434
  ],
435
+ "% Sold Below List": data["% Sold Below List"],
436
+ "% Sold Below List (Smoothed)": data[
437
+ "% Sold Below List (Smoothed)"
438
+ ],
439
  "% Sold Above List": data["% Sold Above List"],
 
 
440
  "% Sold Above List (Smoothed)": data[
441
  "% Sold Above List (Smoothed)"
442
  ],
443
+ "Mean Sale to List Ratio": data["Mean Sale to List Ratio"],
444
  }
445
  elif self.config.name == "home_values":
446
  yield key, {