Skip to content

Commit dcd3b8d

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 <ilmat@microsoft.com> Signed-off-by: Carl Gold <carl@offerfit.ai>
1 parent 29596b2 commit dcd3b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

econml/solutions/causal_analysis/_causal_analysis.py

Lines changed: 1 addition & 1 deletion
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)