Change Sheet Data from a Select
Refresh your analysis with new data, configured through a Dash select component.
Motivation
You have a dropdown that allows users to select a specific dataset.
You want to then automatically load this data directly into the Mito spreadsheet.
To do so, you simply need to write to the data
parameter of the Mito spreadsheet.
Valid types for data
data
The data
parameter should be a list of dicts with strings as keys and values of type string, number, or boolean. For example, valid data might be:
You can go from Pandas dataframe to data
format with the following code:
Note that Mito aims to accept the same data
input as the Dash Data Table.
Examples
Change the data in the Mito spreadsheet based on a select
Last updated