Spaces:
Runtime error
Runtime error
Commit
·
284507d
1
Parent(s):
bfaf0da
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def tweets_localidad(buscar_localidad):
|
|
178 |
df['Probabilidad'] = df['Probabilidad'].apply(lambda x: round(x, 3))
|
179 |
muestra = st.table(df.reset_index(drop=True).head(10).style.applymap(color_survived, subset=['Prediccion']))
|
180 |
tabla.append(muestra)
|
181 |
-
resultado=df.groupby('Prediccion')['Probabilidad'].
|
182 |
colores=["#EE3555","#aae977"]
|
183 |
fig, ax = plt.subplots()
|
184 |
fig.set_size_inches(2, 2)
|
|
|
178 |
df['Probabilidad'] = df['Probabilidad'].apply(lambda x: round(x, 3))
|
179 |
muestra = st.table(df.reset_index(drop=True).head(10).style.applymap(color_survived, subset=['Prediccion']))
|
180 |
tabla.append(muestra)
|
181 |
+
resultado=df.groupby('Prediccion')['Probabilidad'].sum()
|
182 |
colores=["#EE3555","#aae977"]
|
183 |
fig, ax = plt.subplots()
|
184 |
fig.set_size_inches(2, 2)
|