Introducing the Mito Streamlit component

Data Professor · Beginner ·📊 Data Analytics & Business Intelligence ·2y ago

Key Takeaways

The video introduces the Mito Streamlit component, a spreadsheet interface that can be used inside Streamlit apps, allowing users to interact with data and generate equivalent Python code. The component is demonstrated through several examples, including data cleaning, pivot tables, and connection to a database.

Full Transcript

hey this is Jake from Mido I'm going to show you the new Mido streamlit integration so you might be used to using different types of tables in your streamlined apps but now you can actually use Mido as component in your stream build app Mido is a spreadsheet interface so here we have a full spreadsheet inside of a streamlined app right here and in this version as we interact with the spreadsheet everything we do is going to generate the equivalent python so this is inside streamlip if I add a column here and I'm going to rename this column to the month we can see that everything we're doing down here is generating code and let's put a formula we're going to use the actual month function normal spreadsheet functions that you're used to using in something like Excel if I pull those out here we've now got this month pulled out of the date here and now let's say we want to take this month and pivot this so I want to look at the average trading volume for this stock price uh per month so I'm going to go to activity table that's my rows I'll put month as my value I will put the volume and then I would put the median here but it looks like I need to change this to a integer first or float there we go and now let's make that pivot table again and we'll do month and we'll put the volume here and so here we get that's what that mean here we have the average trading of all you per month um for this Tesla stock data and when I come down here we get the code for all this so everything we're doing is record all the code is recorded So it's a great way to give your users access to a interactive spreadsheet inside streamlit but also allow them to generate code as they as they use that data let me go back to the GitHub file here just you can see how this works so we're importing streamlip we're also importing the Mido sheet streamlit package and then we're going to want to have the spreadsheet piece as well we come down here and we use the spreadsheet function to call down the data that we want to use and then we're using uh sd.right and sd.code which is what generates the uh recorded code down here if you don't have that then the code won't appear let's look at some other streamlab apps as well here's one where we're doing some data cleaning and this one notably doesn't have the generated code so it's giving me steps that I want to do to to clean this data set and do some verification on it so I want to rename this to issue date I need to get rid of that there we go and now it tells us the next thing to do is I want to make this issue date a date time there we go and now I want to filter out all the null values in this data set so I'm going to come to the filter here and we will filter out two is not empty oops and so now we filter out all the null values there's a lot more steps I can do in here but you can see we can really do full spreadsheet work in uh in this component here and finally I'll cover this last example we're actually connected to a database here so we're connected to this banking database this is a some snowflake data that we have on some different banks and that information here is populating the spreadsheet which is then um dictating what is in these charts here so we have total interest income by Bank we have estimated Insurance deposits by bank there's a bunch of things here and if I take these off we'll see that the data this is running a snow park query as we can see I just take a second see that the data adjusts and the charts do as well I can also come into my snowflake database here and decide what banks I want to use as I connect great if you want to learn more about how to use Mito inside your cumulative app all you got to do is come to our documentation come down to might overstreamlet and you can see a bunch of things here installing the API reference app gallery lots of different apps but it's really easy to use it's a fully functional spreadsheet inside of your streamlab it's going to make working with data for your users a lot more intuitive and and a lot more uh more interesting for them so I hope you check it out

Original Description

In this video, Jake (co-founder of Mito, a Y Combinator backed startup company) gives us a quick overview and a short demo showing the new Mito Streamlit component in action. 👉 Watch this next - Podcast with Mito founders - https://www.youtube.com/watch?v=kzB9QLYdnC0 📖 Read this next - Blog on Mito as a powerful spreadsheet in Streamlit - https://blog.streamlit.io/data-analysis-with-mito-a-powerful-spreadsheet-in-streamlit/ 🛠️ Mito Docs on Creating a Mito app using @streamlitofficial https://bit.ly/3KBkexk ☁️ Deploy to Streamlit Community Cloud https://streamlit.io/cloud Support my work: 👪 Join as Channel Member: https://www.youtube.com/channel/UCV8e2g4IWQqK71bbzGDEI4Q/join ✉️ Newsletter http://newsletter.dataprofessor.org 📖 Join Medium to Read my Blogs https://data-professor.medium.com/membership ☕ Buy me a coffee https://www.buymeacoffee.com/dataprofessor Recommended Resources 📚 Books https://kit.co/dataprofessor 😎 Taro (Tech Career Mentorship) https://www.jointaro.com/r/dataprofessor/ 📜 Google Data Analytics Professional Certificate https://click.linksynergy.com/deeplink?id=PNeWWakF7rI&mid=40328&murl=https%3A%2F%2Fwww.coursera.org%2Fprofessional-certificates%2Fgoogle-data-analytics 🤔 Interview Query https://www.interviewquery.com/?ref=dataprofessor 🖥️ Stock photos, graphics and videos used on this channel https://1.envato.market/c/2346717/628379/4662 Subscribe: 🌟 Coding Professor https://www.youtube.com/channel/UCJzlfIoF8nmWqJIv_iWQVRw?sub_confirmation=1 🌟 Data Professor https://www.youtube.com/dataprofessor?sub_confirmation=1 Disclaimer: Recommended books and tools are affiliate links that gives me a portion of sales at no cost to you, which will contribute to the improvement of this channel's contents. #datascience #machinelearning #dataprofessor
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Data Professor · Data Professor · 0 of 60

← Previous Next →
1 How a Biologist became a Data Scientist
How a Biologist became a Data Scientist
Data Professor
2 WEKA Tutorial #1.1 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.1 - How to Build a Data Mining Model from Scratch
Data Professor
3 WEKA Tutorial #1.2 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.2 - How to Build a Data Mining Model from Scratch
Data Professor
4 WEKA Tutorial #1.3 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.3 - How to Build a Data Mining Model from Scratch
Data Professor
5 Computational Drug Discovery: Machine Learning for Making Sense of Big Data in Drug Discovery
Computational Drug Discovery: Machine Learning for Making Sense of Big Data in Drug Discovery
Data Professor
6 Quotes #1 on Big Data and Data Science
Quotes #1 on Big Data and Data Science
Data Professor
7 Quotes #2 on Big Data and Data Science
Quotes #2 on Big Data and Data Science
Data Professor
8 Quotes #3 on Big Data and Data Science
Quotes #3 on Big Data and Data Science
Data Professor
9 Quotes #4 on Big Data and Data Science
Quotes #4 on Big Data and Data Science
Data Professor
10 Quotes #5 on Big Data and Data Science
Quotes #5 on Big Data and Data Science
Data Professor
11 Data Science 101: Starting a Data Science / Data Mining Project
Data Science 101: Starting a Data Science / Data Mining Project
Data Professor
12 Data Science 101: CRISP-DM - Data Mining / Data Science in 6 Steps
Data Science 101: CRISP-DM - Data Mining / Data Science in 6 Steps
Data Professor
13 R Programming 101: How to Define Variables
R Programming 101: How to Define Variables
Data Professor
14 R Programming 101: Read and Write CSV files
R Programming 101: Read and Write CSV files
Data Professor
15 Data Science 101: Basic Command-Line for Data Science
Data Science 101: Basic Command-Line for Data Science
Data Professor
16 Strategies for Learning Data Science in 2020 (Data Science 101)
Strategies for Learning Data Science in 2020 (Data Science 101)
Data Professor
17 Building your Data Science Portfolio with GitHub (Data Science 101)
Building your Data Science Portfolio with GitHub (Data Science 101)
Data Professor
18 R Programming 101: Setting up R programming environment (R, RStudio and RStudio.cloud)
R Programming 101: Setting up R programming environment (R, RStudio and RStudio.cloud)
Data Professor
19 Exploratory Data Analysis in R: Towards Data Understanding
Exploratory Data Analysis in R: Towards Data Understanding
Data Professor
20 Exploratory Data Analysis in R: Quick Dive into Data Visualization
Exploratory Data Analysis in R: Quick Dive into Data Visualization
Data Professor
21 Machine Learning in R: Building a Classification Model
Machine Learning in R: Building a Classification Model
Data Professor
22 Machine Learning in R: Repurpose Machine Learning Code for New Data
Machine Learning in R: Repurpose Machine Learning Code for New Data
Data Professor
23 Data Science 101: Deploying your Machine Learning Model
Data Science 101: Deploying your Machine Learning Model
Data Professor
24 Machine Learning in R: Deploy Machine Learning Model using RDS
Machine Learning in R: Deploy Machine Learning Model using RDS
Data Professor
25 Data Pre-processing in R: Handling Missing Data
Data Pre-processing in R: Handling Missing Data
Data Professor
26 Machine Learning in R: Speed up Model Building with Parallel Computing
Machine Learning in R: Speed up Model Building with Parallel Computing
Data Professor
27 Data Science 101: Overview of Machine Learning Model Building Process
Data Science 101: Overview of Machine Learning Model Building Process
Data Professor
28 Web Apps in R: Building your First Web Application in R | Shiny Tutorial Ep 1
Web Apps in R: Building your First Web Application in R | Shiny Tutorial Ep 1
Data Professor
29 Web Apps in R: Build Interactive Histogram Web Application in R | Shiny Tutorial Ep 2
Web Apps in R: Build Interactive Histogram Web Application in R | Shiny Tutorial Ep 2
Data Professor
30 Web Apps in R: Building Data-Driven Web Application in R | Shiny Tutorial Ep 3
Web Apps in R: Building Data-Driven Web Application in R | Shiny Tutorial Ep 3
Data Professor
31 Web Apps in R: Building the Machine Learning Web Application in R | Shiny Tutorial Ep 4
Web Apps in R: Building the Machine Learning Web Application in R | Shiny Tutorial Ep 4
Data Professor
32 Web Apps in R: Build BMI Calculator web application in R for health monitoring | Shiny Tutorial Ep 5
Web Apps in R: Build BMI Calculator web application in R for health monitoring | Shiny Tutorial Ep 5
Data Professor
33 Machine Learning in R: Building a Linear Regression Model
Machine Learning in R: Building a Linear Regression Model
Data Professor
34 What programming language to learn for Data Science? R versus Python
What programming language to learn for Data Science? R versus Python
Data Professor
35 How to Become a Data Scientist (Learning Path and Skill Sets Needed)
How to Become a Data Scientist (Learning Path and Skill Sets Needed)
Data Professor
36 Using Python in R
Using Python in R
Data Professor
37 Interpretable Machine Learning Models
Interpretable Machine Learning Models
Data Professor
38 Making Scatter Plots in R [Data Visualisation in R series]
Making Scatter Plots in R [Data Visualisation in R series]
Data Professor
39 Machine Learning in Python: Building a Classification Model
Machine Learning in Python: Building a Classification Model
Data Professor
40 Compare Machine Learning Classifiers in Python
Compare Machine Learning Classifiers in Python
Data Professor
41 Hyperparameter Tuning of Machine Learning Model in Python
Hyperparameter Tuning of Machine Learning Model in Python
Data Professor
42 Practical Introduction to Google Colab for Data Science
Practical Introduction to Google Colab for Data Science
Data Professor
43 File Handling in Google Colab for Data Science
File Handling in Google Colab for Data Science
Data Professor
44 Pandas for Data Science: Create and Combine DataFrames / Rename Columns
Pandas for Data Science: Create and Combine DataFrames / Rename Columns
Data Professor
45 Machine Learning in Python: Building a Linear Regression Model
Machine Learning in Python: Building a Linear Regression Model
Data Professor
46 Machine Learning in Python: Principal Component Analysis (PCA) for Handling High-Dimensional Data
Machine Learning in Python: Principal Component Analysis (PCA) for Handling High-Dimensional Data
Data Professor
47 How to Plot an ROC Curve in Python | Machine Learning in Python
How to Plot an ROC Curve in Python | Machine Learning in Python
Data Professor
48 Installing conda on Google Colab for Data Science
Installing conda on Google Colab for Data Science
Data Professor
49 Use native R on Google Colab for Data Science
Use native R on Google Colab for Data Science
Data Professor
50 How to Save and Download files from Google Colab
How to Save and Download files from Google Colab
Data Professor
51 Easy Web Scraping in Python using Pandas for Data Science
Easy Web Scraping in Python using Pandas for Data Science
Data Professor
52 Data Science for Computational Drug Discovery using Python (Part 1)
Data Science for Computational Drug Discovery using Python (Part 1)
Data Professor
53 Pandas Profiling for Data Science (Quick and Easy Exploratory Data Analysis)
Pandas Profiling for Data Science (Quick and Easy Exploratory Data Analysis)
Data Professor
54 Exploratory Data Analysis in Python using pandas
Exploratory Data Analysis in Python using pandas
Data Professor
55 Quick tour of PyCaret (a low-code machine learning library in Python)
Quick tour of PyCaret (a low-code machine learning library in Python)
Data Professor
56 How to Upload Files to Google Colab
How to Upload Files to Google Colab
Data Professor
57 How to Install and Use Pandas Profiling on Google Colab
How to Install and Use Pandas Profiling on Google Colab
Data Professor
58 How to Adjust the Style of Pandas DataFrame
How to Adjust the Style of Pandas DataFrame
Data Professor
59 How to use Bamboolib for Data Wrangling in Data Science
How to use Bamboolib for Data Wrangling in Data Science
Data Professor
60 How to use Pandas Profiling on Kaggle
How to use Pandas Profiling on Kaggle
Data Professor

The Mito Streamlit component allows users to interact with data in a spreadsheet interface inside Streamlit apps, generating equivalent Python code. This component can be used for data cleaning, pivot tables, and connection to databases, making data analysis more intuitive and interesting for users.

Key Takeaways
  1. Import the Mito Streamlit component
  2. Create a spreadsheet interface inside a Streamlit app
  3. Interact with data to generate Python code
  4. Connect to a database using the component
  5. Perform data analysis and visualization using the component
💡 The Mito Streamlit component provides a user-friendly way to interact with data in Streamlit apps, allowing users to generate Python code and perform data analysis without extensive programming knowledge.

Related Reads

Up next
Salesforce Tableau CRM & Einstein Discovery Consultant Exam: Full Syllabus Breakdown (New 2025 Bluep
Emily Unfiltered
Watch →