diff options
Diffstat (limited to 'qolab/tableflow')
-rw-r--r-- | qolab/tableflow/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/tableflow/__init__.py b/qolab/tableflow/__init__.py index 15180ca..c83bd61 100644 --- a/qolab/tableflow/__init__.py +++ b/qolab/tableflow/__init__.py @@ -70,7 +70,7 @@ def ilocRowOrAdd(tbl, row): res[col] = tSub[col].isna() else: igood = tSub[col].notna() - res.loc[igood, col] = (tSub.loc[igood, col] == row[col]) + res.loc[igood, col] = tSub.loc[igood, col] == row[col] imissing = tSub[col].isna() res.loc[imissing, col] = False res = res.all(axis=1) # which rows coincide |