Creating a Mitosheet
Use Mito to generate Python code, start automating your Excel processes.
Before creating a Mitosheet, make sure you've installed Mito. If you just installed Mito, make sure to restart your kernel + refresh your browser.
Create a new mitosheet
Open the Notebook where you want to create the mitosheet. If you installed Mito in a virutal environment, make sure to launch the notebook from the same virtual environment.
Copy and paste this code into a cell:
Run the code by clicking on the code cell that contains it and pressing Shift + Enter.
Follow the instructions to import data into Mito.
Reopen an existing mitosheet
If you've already created a mitosheet that you want to continue working from:
Open the Notebook where you previously created the mitosheet. If you installed Mito in a virutal environment, make sure to launch the notebook from the same virtual environment.
Click on the code cell that contains the
mitosheet.sheet(...)
call that you want to reload, and press Shift+Enter.
If you want to learn more about reopening an existing mitosheet, read this section of the Core Concepts overview.
Common Errors
First time creating a mitosheet
If this is the first mitosheet you are creating after installing Mito, view these common install errors.
ModuleNotFoundError
If you've previously created a mitosheet, and you see this ModuleNotFoundError after running the above code, its likely because the mitosheet package is not installed in your current environment.
Make sure to launch launch the notebook from the same virtual environment that you installed Mito in.
NameError
If after running the mitosheet.sheet()
code, you see this NameError, you have to first import the mitosheet package.
Copy this code into your notebook above the
mitosheet.sheet()
call
Click on the
import mitosheet
code and press Shift + EnterClick on the
mitosheet.sheet()
code and press Shift + Enter
Last updated