mattritchey commited on
Commit
5e28511
·
1 Parent(s): 3eb7d4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -99,9 +99,11 @@ else:
99
 
100
  total_input_shape=results.shape[0]
101
 
102
- cols_order=['Address Input', 'sqFtFinished', 'totalSqFt', 'yearBuilt', 'propertyTypeName', 'beds', 'baths', 'numStories',
103
  'url',
104
  'Lat', 'Lon']
 
 
105
  cols_other=[i for i in results.columns if i not in cols_order ]
106
 
107
  try:
 
99
 
100
  total_input_shape=results.shape[0]
101
 
102
+ cols_order_set=['Address Input', 'sqFtFinished', 'totalSqFt', 'yearBuilt', 'propertyTypeName', 'beds', 'baths', 'numStories',
103
  'url',
104
  'Lat', 'Lon']
105
+
106
+ cols_order = [item for sublist in results.columns for item in cols_order_set]
107
  cols_other=[i for i in results.columns if i not in cols_order ]
108
 
109
  try: