3 Packages that Make you Better at Python

Jake from Mito
3 min readJul 14, 2022
  1. Kite

Kite is an AI based auto-complete for coders. It covers multiple languages and integrates into multiple develop environments.

Kite offers multi-line completion for your coding. For Python users, Kite can be plugged into Jupyter Notebooks. As you start to write lines of Python, Kite will display and recommend the code that finishes those lines. All it takes is a key stroke to select the code and move to the next line. Even after 5 minutes, you’ll notice how much faster you are writing Python. In terms of becoming a better data scientist, Kite does not only make you faster, but it shows you what good syntax looks like.

Here is a demo video of Kite from the Data Professor:

2. Mito

Mito is a free Python package that allows the users to call a spreadsheet interface into their Jupyter environment. Every edit you make in the spreadsheet will generate the equivalent Python in the code cell below.

Mito is great for Python users who want to generate their syntax more quickly, without needing to go to Stack Overflow or google. It is also used by Excel users, who want to transition their skills to Python.

Here is a demo video:

To install Mito, run these commands:

python -m pip install mitoinstaller
python -m mitoinstaller install

Then open Jupyter Lab, and this code should appear:

import mitosheet
mitosheet.sheet()

Just run those commands to render the Mitosheet.

Mito has lot’s of great functionality for exploratory data analysis, data cleaning, and data analysis, including:

  • Generating graphs and the equivalent code
  • Creating pivot tables
  • Merging datasets together
  • Using spreadsheet formulas
  • Filtering and sorting datasets
  • Looking at summary statistics
  • Filling null values
  • and much more!

Here is the full documentation.

3. Github Copilot

Github Copilot is build with AI tech from OpenAI, the makers of such AI efforts at GPT-3. Copilot works as an extension to VSCode — it can be ran locally or in cloud environments. Copilot is newer than Kite, and mostly focusses on Python, JavaScript, Go, TypeScript, and Ruby. Differing from Kite, Copilot will contour is autocomplete suggestions to your coding style, and become more tailored the longer you use it. Kite touts its suggestions being based on ML models going over 25 million code files, so it seems that Kite will recommend more professional code, where Copilot will make you faster at coding in your personal style.

But Copilot goes beyond recommending better code from functionality standpoint, it also recommends better names for functions and better commenting.

One amazing feature is that you can write a comment describing the logic the of the code you want to write, and Copilot with generate that code for you.

https://copilot.github.com/

Copilot will also analyze your code and suggests test based on the syntax you have used.

Here is a demo of Copilot handling some coding interview questions.

--

--