Fix: lot transformation

This commit is contained in:
Bertrand Benjamin 2024-03-04 20:09:20 +01:00
parent dd0d8af40c
commit 4cc9e7b038

View File

@ -18,7 +18,7 @@ logger.setLevel(logging.DEBUG)
def build_lots(dfs: list[pd.DataFrame]) -> pd.DataFrame: def build_lots(dfs: list[pd.DataFrame]) -> pd.DataFrame:
df = dfs[0] df = pd.concat(dfs)
df = df.assign( df = df.assign(
Impact=df["Crédit"] - df["Débit"], Impact=df["Crédit"] - df["Débit"],
) )