Refresh Sheet Data Periodically
Change the data that is displayed in your spreadsheet.
Motivation
Valid types for data
data# Passing the data
[
{'Column 1': 1, 'Column 2': 4},
{'Column 1': 2, 'Column 2': 5},
{'Column 1': 3, 'Column 2': 6}
]
# Results in Mito displaying the dataframe
df = pd.DataFrame({'Column 1': [1, 2, 3], 'Column 2': [4, 5, 6]})df = pd.DataFrame({'Column 1': [1, 2, 3], 'Column 2': [4, 5, 6]})
df.to_dict('records') # Returns data in the correct format.Examples
Change the data in the Mito spreadsheet on a time interval
Last updated
Was this helpful?