Generate multiple tables
Provide table schemas, row counts, and relationships to receive a dictionary of generated DataFrames.
from great_generator import generate_relational
data = generate_relational(
schemas={
"customers": "customer_id int, customer_name string",
"orders": "order_id int, customer_id int, order_total decimal(12,2)",
},
rows={"customers": 1000, "orders": 5000},
relationships=["customers.customer_id -> orders.customer_id"],
)