NaN to empty string

This commit is contained in:
ggman12
2026-02-02 20:04:55 -05:00
parent 44e2af3239
commit 250ac98e66
+4
View File
@@ -44,6 +44,10 @@ def convert_faa_master_txt_to_df(zip_path: Path, date: str):
reg_idx = cols.index("registration_number")
cols.insert(reg_idx + 1, "planequery_airframe_id")
df = df[cols]
# Convert all NaN to empty strings
df = df.fillna("")
return df