Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ def test(input_json):
|
|
231 |
|
232 |
for subdomain in UniqueSubdomainsList:
|
233 |
for key, value_list in SubdomainAttributeDict.items():
|
234 |
-
sqm_per_empl = float(SubdomainAttributeDict[subdomain]['sqmPerEmpl')
|
235 |
if key in destinationWeights.columns and key == subdomain:
|
236 |
if sqm_per_empl > 0:
|
237 |
df_LivabilitySubdomainsWorkplaces['jobs'] += (round(destinationWeights[key] / sqm_per_empl,2)).fillna(0)
|
|
|
231 |
|
232 |
for subdomain in UniqueSubdomainsList:
|
233 |
for key, value_list in SubdomainAttributeDict.items():
|
234 |
+
sqm_per_empl = float(SubdomainAttributeDict[subdomain]['sqmPerEmpl']) #[0])
|
235 |
if key in destinationWeights.columns and key == subdomain:
|
236 |
if sqm_per_empl > 0:
|
237 |
df_LivabilitySubdomainsWorkplaces['jobs'] += (round(destinationWeights[key] / sqm_per_empl,2)).fillna(0)
|