Skip to content

Commit 2d7851c

Browse files
imatiach-msftcarl-offerfit
authored andcommitted
Fix numpy iterable import in _causal_analysis.py for numpy>2.0 (py-why#945)
Signed-off-by: Ilya Matiach <[email protected]> Signed-off-by: Carl Gold <[email protected]>
1 parent cce2d4c commit 2d7851c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

econml/solutions/causal_analysis/_causal_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import joblib
1010
import lightgbm as lgb
1111
import numpy as np
12-
from numpy.lib.function_base import iterable
12+
from numpy import iterable
1313
import pandas as pd
1414
from sklearn.base import BaseEstimator, TransformerMixin
1515
from sklearn.compose import ColumnTransformer

0 commit comments

Comments
 (0)