Spaces:
Sleeping
Sleeping
Relocated csv file to outer folder
Browse files
app/categorization/file_processing.py
CHANGED
|
@@ -70,7 +70,7 @@ def standardize_csv_file(file_path: str) -> pd.DataFrame:
|
|
| 70 |
# tx_list = pd.DataFrame(data, columns=data[0])
|
| 71 |
|
| 72 |
# result["csv_file"] = csv_file.read()
|
| 73 |
-
tx_list = pd.read_csv(file_path
|
| 74 |
# tx_list.dropna(inplace=True)
|
| 75 |
|
| 76 |
# result["tx_list_columns"] = tx_list
|
|
|
|
| 70 |
# tx_list = pd.DataFrame(data, columns=data[0])
|
| 71 |
|
| 72 |
# result["csv_file"] = csv_file.read()
|
| 73 |
+
tx_list = pd.read_csv(file_path)
|
| 74 |
# tx_list.dropna(inplace=True)
|
| 75 |
|
| 76 |
# result["tx_list_columns"] = tx_list
|
app/transactions_rag/transactions_2024.csv → transactions_2024.csv
RENAMED
|
@@ -26,4 +26,4 @@ transaction_date,name_description,type,amount
|
|
| 26 |
2022-10-21,Netflix,Expense,22.8
|
| 27 |
2022-01-16,Amazon Lux,Expense,24.11
|
| 28 |
2022-01-15,Burger King,Expense,30.08
|
| 29 |
-
2022-01-14,Amazon,Expense,11.0
|
|
|
|
| 26 |
2022-10-21,Netflix,Expense,22.8
|
| 27 |
2022-01-16,Amazon Lux,Expense,24.11
|
| 28 |
2022-01-15,Burger King,Expense,30.08
|
| 29 |
+
2022-01-14,Amazon,Expense,11.0
|