Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ if useSpeckleData == True:
|
|
103 |
|
104 |
mergeAssetNonAssetLanduse = True
|
105 |
if mergeAssetNonAssetLanduse:
|
106 |
-
|
107 |
|
108 |
df_lu = df_lu.replace([np.inf, -np.inf], 10000).fillna(0)
|
109 |
df_lu = df_lu.apply(pd.to_numeric, errors='coerce')
|
|
|
103 |
|
104 |
mergeAssetNonAssetLanduse = True
|
105 |
if mergeAssetNonAssetLanduse:
|
106 |
+
df_lu.columns = [col.replace('ASSETS+', '') for col in df_lu.columns]
|
107 |
|
108 |
df_lu = df_lu.replace([np.inf, -np.inf], 10000).fillna(0)
|
109 |
df_lu = df_lu.apply(pd.to_numeric, errors='coerce')
|