From 38ce373cdbb17ffbf7bef2c6b68a8ffc1fe8fe38 Mon Sep 17 00:00:00 2001 From: tricktx Date: Sun, 24 Sep 2023 20:22:00 -0300 Subject: [PATCH] fix partition data --- pipelines/datasets/br_stf_corte_aberta/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/datasets/br_stf_corte_aberta/utils.py b/pipelines/datasets/br_stf_corte_aberta/utils.py index 805dcae72..5869a8b77 100644 --- a/pipelines/datasets/br_stf_corte_aberta/utils.py +++ b/pipelines/datasets/br_stf_corte_aberta/utils.py @@ -119,7 +119,7 @@ def partition_data(df: pd.DataFrame, column_name: list[str], output_directory: s # mode = "a" if os.path.exists(csv_path) else "w" df_partition.to_csv( csv_path, - sep=";", + sep=",", index=False, encoding="utf-8", na_rep="",