Skip to content

Commit 8ebe9cc

Browse files
committed
fix(eda.correlation): wrong mask calculation
for plot(df, x)
1 parent 10e84dd commit 8ebe9cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dataprep/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
logging.basicConfig(level=logging.INFO, format="%(message)s")
1212

13-
__version__ = "0.2.12"
13+
__version__ = "0.2.13"

dataprep/eda/correlation/compute/univariate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _pearson_1xn(x: da.Array, data: da.Array) -> da.Array:
7575
_, ncols = data.shape
7676

7777
fused = da.concatenate([data, x], axis=1)
78-
mask = ~da.isnan(data)
78+
mask = ~da.isnan(fused)
7979

8080
corrs = []
8181
for j in range(ncols):

0 commit comments

Comments
 (0)