Spaces:
Running
Running
File size: 708 Bytes
628ab0d | 1 2 3 4 5 6 7 8 9 10 11 | from pathlib import Path
import pandas as pd
ROOT=Path(__file__).resolve().parent
def examples():
quotes=pd.read_csv(ROOT/'data/example_quotes.csv',keep_default_na=False).to_dict('records')
pt=[q for q in quotes if q['country']=='PT']
sample={'country':'PT','region':'PT-mainland','annual_kwh':3500,'current_annual_bill':1200,'peak_share':.5,'meter_type':'standard','allow_illustrative':True,'as_of':'2026-10-10','offers':pt}
ngo={'offers':pt,'allow_illustrative':True,'as_of':'2026-10-10','profiles':[{'profile_id':'household-001','country':'PT','region':'PT-mainland','customer_type':'consumer','annual_kwh':3500,'current_annual_bill':1200,'meter_type':'standard'}]}
return sample,ngo
|