Update reconciliate_and_upload.py
Browse files
reconciliate_and_upload.py
CHANGED
@@ -73,7 +73,8 @@ def reconciliate_and_upload(data_path,
|
|
73 |
df_app["date"] = pd.to_datetime(df_app['date'], format="%d/%m/%Y", errors='coerce')
|
74 |
df_app["url"] = urls
|
75 |
df_app = df_app.drop_duplicates(["name_of_supplier", "amount", "date"]).reset_index(drop=True)
|
76 |
-
|
|
|
77 |
df_opp_app = pd.read_csv(f"{data_path}/{name_of_csv}",skiprows=3)
|
78 |
# df_opp_app["Débit"] = df_opp_app["Débit"].str.replace(" ", "").str.replace(",", ".").astype("float")
|
79 |
|
|
|
73 |
df_app["date"] = pd.to_datetime(df_app['date'], format="%d/%m/%Y", errors='coerce')
|
74 |
df_app["url"] = urls
|
75 |
df_app = df_app.drop_duplicates(["name_of_supplier", "amount", "date"]).reset_index(drop=True)
|
76 |
+
print(data_path)
|
77 |
+
print("NAME OF CSV: ", name_of_csv)
|
78 |
df_opp_app = pd.read_csv(f"{data_path}/{name_of_csv}",skiprows=3)
|
79 |
# df_opp_app["Débit"] = df_opp_app["Débit"].str.replace(" ", "").str.replace(",", ".").astype("float")
|
80 |
|