Hello Folks,
I’am using dcc.Upload to upload an *.xlsx file. It works fine until I realized the number of read rows is limited to 390. The file i am trying to load has in total 60000 rows.
Is there a way to increase the limit of 390 rows?
Thank You very much in advance!
Peter
Hi everybody,
i did find my mistake:
I was using a df.dropna() command that was restricting the number of rows:
content_type, content_string = contents.split(',')
# decoded = base64.b64decode(content_string)
try:
if 'xls' in name:
start_time = datetime.now()
dfa = decodes_excel_to_df(content_string)
# Convert values to numeric type
dfa = dfa.apply(pd.to_numeric, errors='coerce')
# dfa = dfa.dropna()
dfa_time = dfa.iloc[:, 0].tolist()
dfa_value = dfa.iloc[:, 1].tolist()