mito icon indicating copy to clipboard operation
mito copied to clipboard

Return DataframeFormat with RunnableAnnalysis

Open aarondr77 opened this issue 1 year ago • 0 comments

Use Case

  1. Create an automation in a Streamlit app that generates a formatted view of the dataframe
  2. Save the analysis
  3. Select the analysis from a list of saved automations, select new data and analysis.run(...)
  4. Then pass the results into a new spreadsheet to display the result of the new analysis
  5. I want to also show the conditional formatting applied to the new data

Implementation

  1. Save the DataframeFormat in the RunnableAnnalysis
  2. Access the dataframeFormat via analysis.dataframe_format
  3. Allow the user to pass the dataframeFormat to the spreadsheet component

aarondr77 avatar Nov 10 '23 18:11 aarondr77