Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
srlee056 committed Jan 11, 2024
1 parent 504d37a commit 84dcb4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dags/air/air_quality_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def fetch_data_and_save_csv(**context):
}
df_selected["metro"] = df_selected["metro"].map(new_metro_values)

for col_name in ["so2", "co", "o3", "no2", "pm10", "pm25"]:
df_selected.loc[df_selected[col_name] == "-", col_name] = ""
# convert to csv
df_selected.to_csv("dags/air/output.csv", index=False)

Expand Down

0 comments on commit 84dcb4a

Please sign in to comment.