Skip to content

Commit df10acb

Browse files
committed
Try to fix the "matrix" error
1 parent 47d0454 commit df10acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/analysis/test_holes_characterization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def missingness_matrix_mcar_perm(missingness_matrix_mcar):
110110

111111
@pytest.fixture
112112
def oob_probabilities() -> np.ndarray:
113-
return np.matrix([[0.5, 0.5], [0, 1], [1, 0], [1, 0]]).A
113+
return np.array([[0.5, 0.5], [0, 1], [1, 0], [1, 0]])
114114

115115

116116
def test__encode_dataframe(supported_multitypes_dataframe):

0 commit comments

Comments
 (0)