diff --git a/chainladder/core/correlation.py b/chainladder/core/correlation.py index ed7a2b09..a9bdfb37 100644 --- a/chainladder/core/correlation.py +++ b/chainladder/core/correlation.py @@ -193,8 +193,8 @@ def pZlower(z: int, n: int, p: float = 0.5) -> float: lr.values * 0 + 1 ) - med = xp.nanmedian(a=m1, axis=2, keepdims=True, nan_policy="omit") - print("med:\n", med) + med = xp.nanmedian(a=m1, axis=2, keepdims=True) + # print("med:\n", med) m1large = (xp.nan_to_num(m1) > med) + (lr.values * 0) m1small = (xp.nan_to_num(m1) < med) + (lr.values * 0)