mito
mito copied to clipboard
Return DataframeFormat with RunnableAnnalysis
Use Case
- Create an automation in a Streamlit app that generates a formatted view of the dataframe
- Save the analysis
- Select the analysis from a list of saved automations, select new data and
analysis.run(...)
- Then pass the results into a new spreadsheet to display the result of the new analysis
- I want to also show the conditional formatting applied to the new data
Implementation
- Save the DataframeFormat in the RunnableAnnalysis
- Access the dataframeFormat via
analysis.dataframe_format
- Allow the user to pass the dataframeFormat to the spreadsheet component