Closed mayii2001 closed 3 months ago
Finally, I gave up on using self.kds and used a new instance of mf.ImputationKernel. It turned out to work. But I don`t know why the second bug appeared.
Got the same issue...
This might have been caused by not resetting the index on the data that was being imputed. There are assertions in major version 6 to keep these bugs from happening. If it keeps happening, please reopen this issue.
I tried directly use impute_new_data and complete_data() after I runned the self.kds.mice on old data:
But the temp still had null values.
And I tried pipeline:
It reported IndexError: list index out of range
I'm sure the number of columns is the same in both newdata and olddata. I can't figure out what the problem is here. I would be grateful if anyone could answer my question.