Pass a dataframe into Mito
Query a database, or scrape a table from a website and import the dataframe into Mito. Import any Pandas dataframe into Mito.
Import Python Packages
To import a dataframe into Mito, we need the Mito and pandas packages. Both are distributed through the Mito installer. If you have not yet installed Mito, follow the instructions here.
Create the Pandas Dataframes
Using Pandas, you can create dataframes by reading csv files, Excel files, or even querying an SQL database.
For the purposes of this tutorial, we will create two sample dataframes.
Pass the dataframes into Mito
To import the dataframe into Mito, just provide it as an argument to the mitosheet.sheet() function call.
Last updated