fix phoneNumber as string
This commit is contained in:
parent
6466e93bc5
commit
da6ae895a3
|
@ -224,7 +224,9 @@ class ImportForm(forms.Form):
|
|||
if not self._schema:
|
||||
return data
|
||||
|
||||
df = pd.read_excel(data)
|
||||
# Forze than pandas read one column as string
|
||||
dtype_dict = {"phoneNumber": str}
|
||||
df = pd.read_excel(data, dtype=dtype_dict)
|
||||
df.fillna('', inplace=True)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue