Welcome to code-genie’s documentation!

code-genie will help you bring the power of chatGPT technology to your notebooks.

Look how easy it is to use:

from code_genie import Genie
df = load_your_df()
genie = Genie(data=df)
gr_miss = genie.plz("create a dataframe with number of missing values per column")
gr_miss.result  # show the result of computation
print(gr_miss.code)  # print the code which was generated
genie.plz("make scatter plot of col1 vs col2").result  # directly make the plot without storing into interim variable

Get started with this notebook.

Installation

Install code-genie by running:

pip install code_genie

Note on Privacy & Security

Privacy of your data is of primte importance. This library has been specifically designed to NOT share any part of your data with the Genie APIs. Just the metadata about your data like name and types of columns of a pandas dataframe would be shared, which help in generating high quality results.

Features

  • Create functions from text and re-use them as you want

  • No more spending hours searching for syntax on stack overflow

Contribute