Skip to content

Commit

Permalink
Need to be checked parquet data types
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos González Gamella committed Oct 23, 2024
1 parent 0b5db13 commit 801a7e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integracion_opendata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,10 @@ def replace_procedure_code(value):
df_out_no_coincidentes = contratos_outsiders[indices_no_match]
len(df_out_no_coincidentes)


df_outsiders_all = pd.concat([df_outsiders_combined, df_out_no_coincidentes], ignore_index=True)
print(f"Total de contratos outsiders integrados: {df_outsiders_all.shape[0]} filas.")
df_outsiders_all.to_parquet(output_path_outsiders, index=False)


def main():
parser = argparse.ArgumentParser(description='Procesa y concatena datos de Zaragoza, Madrid y Gencat.')
Expand Down

0 comments on commit 801a7e8

Please sign in to comment.