parent
f114eb7f5a
commit
e176d1e73f
|
@ -23,7 +23,6 @@ def expansion_Pipeline(df):
|
||||||
df = pl.DataFrame(data, schema=["property_id", "created_at", "calendar_date", "calendar_value"])
|
df = pl.DataFrame(data, schema=["property_id", "created_at", "calendar_date", "calendar_value"])
|
||||||
return df
|
return df
|
||||||
|
|
||||||
|
|
||||||
def liveDates_Pipeline(df):
|
def liveDates_Pipeline(df):
|
||||||
'''
|
'''
|
||||||
Returns the expanded Dataframe with only the live data and no future data
|
Returns the expanded Dataframe with only the live data and no future data
|
||||||
|
|
|
@ -62,7 +62,4 @@ def region_capacities_comparison(id_1: int, id_2: int):
|
||||||
outDictList.append(tempDict)
|
outDictList.append(tempDict)
|
||||||
|
|
||||||
outDict = {'region1': outDictList[0], 'region2': outDictList[1],}
|
outDict = {'region1': outDictList[0], 'region2': outDictList[1],}
|
||||||
return outDict
|
return outDict
|
||||||
|
|
||||||
out = region_capacities_comparison(1,2)
|
|
||||||
print(out)
|
|
Loading…
Reference in New Issue