Correction de l'injection du nom d'org dans le titre #65

This commit is contained in:
Colin Maudry
2026-03-18 20:41:46 +01:00
parent f8fffb6fa4
commit 26dd2aaf1a
3 changed files with 4 additions and 9 deletions
-5
View File
@@ -89,11 +89,6 @@ def get_barchart_sources(lff: pl.LazyFrame, type_date: str):
.sort(by=[type_date, "len"], descending=True)
)
# lff = lff.with_columns(
# pl.when(pl.col("sourceDataset").is_null()).then(
# pl.lit("Source inconnue")).alias("sourceDataset")
# )
lff = lff.sort(by=["sourceDataset"], descending=False)
dff: pl.DataFrame = lff.collect(engine="streaming")