Skip to content

Commit

Permalink
Merge branch 'main' into staging/fix-cgu-servidores
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx authored Nov 8, 2024
2 parents 3831d07 + 496c158 commit f8473f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/datasets/br_cvm_fi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ def clean_data_and_make_partitions(path: str, table_id: str) -> str:
df = pd.read_csv(f"{path}{file}", sep=";")
log(f"File {file} read.")

df.rename(columns={'CNPJ_FUNDO_CLASSE':'CNPJ_FUNDO'}, inplace=True)
df["CNPJ_FUNDO_CLASSE"] = df["CNPJ_FUNDO_CLASSE"].str.replace(r"[/.-]", "")

df["CNPJ_FUNDO"] = df["CNPJ_FUNDO"].str.replace(r"[/.-]", "")
df.drop("ID_SUBCLASSE",axis=1, inplace=True)

df = rename_columns(df_arq, df)

Expand Down

0 comments on commit f8473f2

Please sign in to comment.