diff --git a/etl/src/data/etl_property_capacities.py b/etl/src/data/etl_property_capacities.py index 06a527f..37db5a1 100644 --- a/etl/src/data/etl_property_capacities.py +++ b/etl/src/data/etl_property_capacities.py @@ -35,5 +35,4 @@ def property_capacities(id: int): max_capacity_perc = 100 / max_capacity result['capacities'].append(round(max_capacity_perc * row['sum'], 2)) result['capacities'].reverse() - return result - + return result \ No newline at end of file diff --git a/etl/src/data/etl_region_capacities.py b/etl/src/data/etl_region_capacities.py index db7a1fe..989cf5b 100644 --- a/etl/src/data/etl_region_capacities.py +++ b/etl/src/data/etl_region_capacities.py @@ -33,7 +33,7 @@ def region_capacities(id: int): gridData.append([row['ScrapeDate'], sum_hor, calDF.width]) # Create Aggregates of values - df = pl.DataFrame(gridData) + df = pl.DataFrame(gridData, strict=False) df_count = df.group_by("column_0").agg(pl.col("column_1").count()) df_sum = df.group_by("column_0").agg(pl.col("column_1").sum()) df_numDays = df.group_by("column_0").agg(pl.col("column_2").max())