kearnz / autoimpute

Python package for Imputation Methods
MIT License
237 stars 19 forks source link

AttributeError: module 'numpy' has no attribute 'object'. #87

Closed Jacer7 closed 1 year ago

Jacer7 commented 1 year ago

simple example using default instance of MiceImputer

imp = MiceImputer()

fit transform returns a generator by default, calculating each imputation method lazily

imp.fit_transform(data)

As the np.object has been depreciated from the version 1.19.0 , while fitting data and transforming it, it shows the error as module 'numpy' has no attribute 'object'.

kearnz commented 1 year ago

thanks for flagging. I'll get version dependencies up to speed & resolved this week.

kearnz commented 1 year ago

code is updated, so I'll close this now. you can get the latest by git cloning the repo. I'll release a new version (0.13.1) shortly.