There was an error while loading. Please reload this page.
1 parent 5e485c3 commit 57f237bCopy full SHA for 57f237b
1 file changed
codonPython/check_consistent_measures.py
@@ -45,6 +45,9 @@ def check_consistent_measures(data, geography_col: str = "Org_Level", measure_co
45
False
46
"""
47
48
+ if any(data.isna()):
49
+ raise ValueError(
50
+ f"Missing values at locations {list(map(tuple, np.argwhere(data.isna().values)))}")
51
if not isinstance(geography_col, str) or not isinstance(measure_col, str):
52
raise ValueError("Please input strings for column indexes.")
53
if not isinstance(measures_set, set):
0 commit comments