Fix I4: drop row with "" on locataire ans Période
This commit is contained in:
parent
f9be31c090
commit
90c2d3689b
@ -139,8 +139,6 @@ def join_row(table):
|
||||
}
|
||||
)
|
||||
joined.append(row)
|
||||
else:
|
||||
pass
|
||||
|
||||
return joined
|
||||
|
||||
@ -163,4 +161,6 @@ def table2df(tables):
|
||||
numeric_cols = [k for k, v in DF_TYPES.items() if v == float]
|
||||
df[numeric_cols] = df[numeric_cols].replace("", np.nan)
|
||||
|
||||
df = df.drop(df[(df["Locataires"] == "") & (df["Période"] == "")].index)
|
||||
|
||||
return df.astype(DF_TYPES)
|
||||
|
Loading…
Reference in New Issue
Block a user