@ziczac wrote:
Hi. I am ussing html to download data from a dashboard.
csv_string = df.to_csv(index=True, encoding=‘utf-8’)
csv_string = “data:text/csv;charset=utf-8,” + urllib.parse.quote(csv_string)
return html.A(children=‘download data’, id=f’dl_bar_{metric}’, download=f"spx_markouts_{metric}by{’_’.join(groups)}.csv", href=csv_string)However, the data can be quite large, with the csv_string being over 1mn characters. That seems to result in network errors.
Is there a way to increase the html length allowed or is there another way to download data?
Posts: 1
Participants: 1