Open khacnha opened 3 months ago
module 'pandas' has no attribute 'np' in line py_entitymatching/matcher/matcherutils.py", line 224, in impute_table imp.statistics_[pd.np.isnan(imp.statistics_)] = val_all_nans
module 'pandas' has no attribute 'np'
py_entitymatching/matcher/matcherutils.py", line 224, in impute_table imp.statistics_[pd.np.isnan(imp.statistics_)] = val_all_nans
Replace pd.np.isnan with np.isnan
pd.np.isnan
np.isnan
Error:
module 'pandas' has no attribute 'np'
in linepy_entitymatching/matcher/matcherutils.py", line 224, in impute_table imp.statistics_[pd.np.isnan(imp.statistics_)] = val_all_nans
Fixed:
Replace
pd.np.isnan
withnp.isnan