Experienced Streamlit Users

If you have existing Streamlit applications that you're maintaining where you're exposing data to end-users, Mito can be used as a drop-in replacement for st.dataframe and st.data_editor that offers an data exploration experience that can be more intuative to users coming from Excel and Google Sheets.

As a replacement for st.dataframe

Mito can be used as a drop-in replacement for st.dataframe - that allows users to explore their data in a more flexible way than the standard dataframe viewer. With Mito, users will have the option to go beyond just seeing the underlying data - they will also be able to add filters, create pivot tables, create graphs, and more.

# Before
import streamlit as st

# After
from mitosheet.streamlit.v1 import spreadsheet

As a replacement for st.data_editor

Currently, st.data_editor only allows editing of dataframe values and rows. While this is well optimized for simple use cases, there is often the need to let users to do more dramatic data editing operations like deleting columns, changing dtypes, adding filters, and even writing spreadsheet formulas. Similarly to above, the Mito spreadsheet can be used as a drop-in replacement for st.data_editor.

# Before
import streamlit as st
new_df = st.data_editor(old_df)

# After. Note that new_dfs may contain multiple dataframes
from mitosheet.streamlit.v1 import spreadsheet
new_dfs, _ = spreadsheet(old_df)
new_df = list(new_dfs.values()[0]

Last updated