We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63624e0 + abcdfde commit 4bd2f14Copy full SHA for 4bd2f14
1 file changed
mimic-iv/tests/test_medication.py
@@ -58,7 +58,7 @@ def test_vasopressor_units(dataset, project_id):
58
"""
59
df = gbq.read_gbq(query, project_id=project_id, dialect="standard")
60
# if we find new uninspected rows, raise a warning. this will only happen when mimic-iv is updated.
61
- if (~df['hadm_id'].contains(hadm_id_list)).any():
+ if (~df['hadm_id'].isin(hadm_id_list)).any():
62
_LOGGER.warn(f"""New data found with non-standard unit. Inspect the data with this query:
63
64
select *
0 commit comments