aboutsummaryrefslogtreecommitdiff
path: root/qolab/tableflow/__init__.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 22:02:57 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 22:02:57 -0400
commitb7ba7bf22a71ea59cb0cadad366e8f527dffe0b2 (patch)
tree44540efb924f13f913c0f2cce7a963a7d72dd16c /qolab/tableflow/__init__.py
parentef2279a26ad948cbeb302674ca142a24e23f1fd9 (diff)
downloadqolab-b7ba7bf22a71ea59cb0cadad366e8f527dffe0b2.tar.gz
qolab-b7ba7bf22a71ea59cb0cadad366e8f527dffe0b2.zip
black formatter
Diffstat (limited to 'qolab/tableflow/__init__.py')
-rw-r--r--qolab/tableflow/__init__.py2
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