From cf983e084402e75c99bb4a0a54fa08d5c7493274 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Tue, 26 Sep 2023 11:00:17 -0300 Subject: [PATCH] [fix]: br_inep_enem: dicionario csv format --- models/br_inep_enem/code/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/models/br_inep_enem/code/main.py b/models/br_inep_enem/code/main.py index e12fcba4..ed2d1f52 100644 --- a/models/br_inep_enem/code/main.py +++ b/models/br_inep_enem/code/main.py @@ -288,14 +288,13 @@ def drop_temporal_cov(key, temporal_cov): ] ) -pd.concat([dict_microdados, dict_by_table]).to_parquet(f"{OUTPUT}/dicionario.parquet", index=False) # type: ignore +pd.concat([dict_microdados, dict_by_table]).to_csv(f"{OUTPUT}/dicionario.csv", index=False) # type: ignore # Upload dictionary tb = bd.Table(dataset_id="br_inep_enem", table_id="dicionario") tb.create( - path=f"{OUTPUT}/dicionario.parquet", + path=f"{OUTPUT}/dicionario.csv", if_table_exists="replace", if_storage_data_exists="replace", - source_format="parquet", )