TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

How To Write Python without Code

Roman Orac
TDS Archive
Published in
4 min readMay 31, 2022

--

Photo by Joshua Woroniecki on Unsplash

Python use is consistently growing across industries. One reason for this is the increasing need to analyze large datasets. Many new Python users come from a spreadsheet background and find that while Python can handle much larger datasets more quickly, they miss the visual nature of a spreadsheet that was available to them in Excel or Google Sheets.

Mito is a Python package that is bringing the benefits of a spreadsheet to Python. This package allows you to call a spreadsheet into your Python environment, where you can either pass in a DataFrame or an Excel file — each edit you make in the spreadsheet writes the equivalent Python code automatically.

Each edit you make in the spreadsheet writes the equivalent Python code automatically (image by author).

One of the great things about automatic code generation is that you do not need to spend a lot of time going to Stack Overflow or Google to get the right syntax. All you need to do is complete the operation in the spreadsheet and the code is written for you.

To install Mito, use these commands in your terminal:

python -m pip install…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Roman Orac
Roman Orac

No responses yet