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