Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def run():
|
|
162 |
df['Sexista']= np.where(df['Sexista']== 0, 'No Sexista', 'Sexista')
|
163 |
|
164 |
|
165 |
-
st.table(df.reset_index(drop=True).head(
|
166 |
|
167 |
|
168 |
#st.dataframe(df.style.apply(highlight_survived, axis=1))
|
|
|
162 |
df['Sexista']= np.where(df['Sexista']== 0, 'No Sexista', 'Sexista')
|
163 |
|
164 |
|
165 |
+
st.table(df.reset_index(drop=True).head(50).style.applymap(color_survived, subset=['Sexista']))
|
166 |
|
167 |
|
168 |
#st.dataframe(df.style.apply(highlight_survived, axis=1))
|