Update app.py
Browse files
app.py
CHANGED
@@ -130,6 +130,16 @@ if uploaded_file is not None:
|
|
130 |
fig2 = px.parallel_categories(data_frame=enfoqueX[list(LISTA_SELEC)])
|
131 |
st.plotly_chart(fig2)
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
st.header('Descarga de Items de Hexagonos Densos Elegidos')
|
134 |
|
135 |
enfoques = pd.DataFrame()
|
|
|
130 |
fig2 = px.parallel_categories(data_frame=enfoqueX[list(LISTA_SELEC)])
|
131 |
st.plotly_chart(fig2)
|
132 |
|
133 |
+
for c in range(NUM_CASOS):
|
134 |
+
a, b = patrones_df.col1[c], patrones_df.col2[c]
|
135 |
+
enfoqueX = data_210[
|
136 |
+
(data_210.pca_1 > a - radiohex) &
|
137 |
+
(data_210.pca_1 < a + radiohex) &
|
138 |
+
(data_210.pca_2 > b - radiohex) &
|
139 |
+
(data_210.pca_2 < b + radiohex)
|
140 |
+
]
|
141 |
+
st.write(f'Tamaño {c}', len(enfoqueX))
|
142 |
+
|
143 |
st.header('Descarga de Items de Hexagonos Densos Elegidos')
|
144 |
|
145 |
enfoques = pd.DataFrame()
|