Merge pull request 'fix' (#192) from bugfix/189-codepost into release
Reviewed-on: https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/pulls/192
This commit is contained in:
commit
b5416990a6
|
@ -225,7 +225,7 @@ class ImportForm(forms.Form):
|
||||||
props = self.json_schema.get("properties", {})
|
props = self.json_schema.get("properties", {})
|
||||||
|
|
||||||
# Forze than pandas read one column as string
|
# Forze than pandas read one column as string
|
||||||
dtype_dict = {"phoneNumber": str}
|
dtype_dict = {"phoneNumber": str, 'postCode': str}
|
||||||
df = pd.read_excel(data, dtype=dtype_dict)
|
df = pd.read_excel(data, dtype=dtype_dict)
|
||||||
df.fillna('', inplace=True)
|
df.fillna('', inplace=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue