#!pip install mostlyai
from mostlyai import MostlyAI
mostly = MostlyAI(api_key='your_api_key')
# train a generator on your data
g = mostly.train(data)
# generate a synthetic dataset
sd = mostly.generate(g)
# consume synthetic as pd.DataFrame
syn = sd.data()