clean nans

This commit is contained in:
Cayo Puigdefabregas 2024-03-18 17:30:32 +01:00
parent f922cf16d7
commit d09f0f94bd
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ class ImportForm(forms.Form):
# convert dates to iso 8601
for col in df.select_dtypes(include='datetime').columns:
df[col] = df[col].dt.strftime("%Y-%m-%d")
df.fillna('', inplace=True)
# convert numbers to strings if this is indicate in schema
for col in props.keys():