mattritchey commited on
Commit
d2a9c37
·
1 Parent(s): e38d30a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -5
main.py CHANGED
@@ -85,11 +85,11 @@ async def predict(address_input: str):
85
  results=Parallel(n_jobs=64, prefer="threads")(delayed(catch_errors)(i) for i in address_input_split)
86
  results = pd.concat(results).reset_index(drop=1)
87
 
88
- cols_order=['Address Input', 'sqFtFinished', 'totalSqFt', 'yearBuilt', 'propertyTypeName', 'beds', 'baths', 'numStories',
89
- 'url',
90
- 'Lat', 'Lon']
91
- cols_other=[i for i in results.columns if i not in cols_order ]
92
- results=results[cols_order+cols_other].reset_index()
93
 
94
  results['index']=results['index']+1
95
  results.index=results.index+1
 
85
  results=Parallel(n_jobs=64, prefer="threads")(delayed(catch_errors)(i) for i in address_input_split)
86
  results = pd.concat(results).reset_index(drop=1)
87
 
88
+ # cols_order=['Address Input', 'sqFtFinished', 'totalSqFt', 'yearBuilt', 'propertyTypeName', 'beds', 'baths', 'numStories',
89
+ # 'url',
90
+ # 'Lat', 'Lon']
91
+ # cols_other=[i for i in results.columns if i not in cols_order ]
92
+ # results=results[cols_order+cols_other].reset_index()
93
 
94
  results['index']=results['index']+1
95
  results.index=results.index+1