AutoPandas is a
engine for the Pandas python library.
It adopts the programming-by-example approach in that users specify intent using input-output examples which are then used
to synthesize a program that correctly produces the desired output given the input. This website serves as an interactive interface to the core engine.
We currently allow you to specify one input-output example. Inputs can be added by clicking the
"Add Input" button. The primary input format is code, which accepts arbitary
Python, however we provide a preview for the common data-structures such as Pandas DataFrames that allow
visual editing via the Preview tab. Changes made in the preview, when saved, are reflected in the code.
The code-based input boxes accept Jupyter-style snippets i.e. the snippet can be a sequence of statements
such that the last statement is an expression. An example of such a snippet is provided below.
Try copy-pasting it into one of the code-boxes on the left and see the preview!