remove columns empty
This commit is contained in:
parent
b6711cbe2b
commit
08af99370f
|
@ -234,7 +234,8 @@ class ImportForm(forms.Form):
|
||||||
for n in range(df.last_valid_index()+1):
|
for n in range(df.last_valid_index()+1):
|
||||||
row = {}
|
row = {}
|
||||||
for k in data_pd.keys():
|
for k in data_pd.keys():
|
||||||
row[k] = data_pd[k][n] or ''
|
if data_pd[k][n]:
|
||||||
|
row[k] = data_pd[k][n]
|
||||||
|
|
||||||
user = self.validate_jsonld(n, row)
|
user = self.validate_jsonld(n, row)
|
||||||
self.rows[user] = row
|
self.rows[user] = row
|
||||||
|
|
Loading…
Reference in New Issue