Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ from math import ceil
|
|
13 |
def split_frame(input_df, rows):
|
14 |
df=[]
|
15 |
for i in range(0, len(input_df), rows):
|
16 |
-
df.append (input_df.
|
17 |
-
st.markdown(df)
|
18 |
return df
|
19 |
|
20 |
def paginar_frame(df):
|
@@ -139,7 +138,6 @@ def main():
|
|
139 |
else:
|
140 |
|
141 |
df_results=detalles_resultados(df,result)
|
142 |
-
st.markdown(df_results)
|
143 |
batch_size = 5
|
144 |
pages = split_frame(df_results, batch_size)
|
145 |
bottom_menu = st.columns((2,1,1))
|
|
|
13 |
def split_frame(input_df, rows):
|
14 |
df=[]
|
15 |
for i in range(0, len(input_df), rows):
|
16 |
+
df.append (input_df.iloc[i : i + rows - 1, :])
|
|
|
17 |
return df
|
18 |
|
19 |
def paginar_frame(df):
|
|
|
138 |
else:
|
139 |
|
140 |
df_results=detalles_resultados(df,result)
|
|
|
141 |
batch_size = 5
|
142 |
pages = split_frame(df_results, batch_size)
|
143 |
bottom_menu = st.columns((2,1,1))
|