Affichage du nombre de lignes close #19

This commit is contained in:
Colin Maudry
2025-06-13 11:24:06 +02:00
parent 1171708d9e
commit 4c6f38f41e
3 changed files with 29 additions and 16 deletions
+5
View File
@@ -64,3 +64,8 @@ def numbers_to_strings(lf: pl.LazyFrame) -> pl.LazyFrame:
"""
lf = lf.with_columns(pl.col(pl.Float64, pl.Int16).cast(pl.String).fill_null(""))
return lf
def format_number(number) -> str:
number = "{:,}".format(number).replace(",", " ")
return number