Skip to content
Snippets Groups Projects
Commit c5b78cc4 authored by Felix Kleinert's avatar Felix Kleinert
Browse files

update statistics for utest

parent 2ebf769d
Branches
Tags
No related merge requests found
...@@ -275,7 +275,8 @@ def represent_p_values_as_asteriks(p_values: pd.Series, threshold_representation ...@@ -275,7 +275,8 @@ def represent_p_values_as_asteriks(p_values: pd.Series, threshold_representation
f"`threshold_representation' keys mus be in strictly " f"`threshold_representation' keys mus be in strictly "
f"decreasing order but is: {threshold_representation.keys()}") f"decreasing order but is: {threshold_representation.keys()}")
asteriks = pd.Series().reindex_like(p_values) # asteriks = pd.Series().reindex_like(p_values)
asteriks = pd.DataFrame().reindex_like(p_values)
for k, v in threshold_representation.items(): for k, v in threshold_representation.items():
asteriks[p_values < k] = v asteriks[p_values < k] = v
return asteriks return asteriks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment