Skip to content
Snippets Groups Projects
Commit 284fa2da authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: that null check works for array elements

parent 6bfd2af9
No related branches found
No related tags found
Loading
Pipeline #37384 passed
......@@ -388,7 +388,8 @@ class TableImporter():
if key not in df.columns:
continue
if pd.isnull(row.loc[key]):
null_check = pd.isnull(row.loc[key])
if (isinstance(null_check, np.ndarray) and null_check.any()) or (not isinstance(null_check, np.ndarray) and null_check):
errmsg = (
"Required information is missing ({}) in {}. row"
" (without header) of "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment