Skip to content

Commit

Permalink
no more pandas issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyf committed Sep 23, 2017
1 parent ec8c318 commit 88d0a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fancyimpute/mice.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def multiple_imputations(self, X):
def complete(self, X):
if self.verbose:
print("[MICE] Completing matrix with shape %s" % (X.shape,))
X_completed = X.copy()
X_completed = np.array(X.copy())
imputed_arrays, missing_mask = self.multiple_imputations(X)
# average the imputed values for each feature
average_imputated_values = imputed_arrays.mean(axis=0)
Expand Down

0 comments on commit 88d0a3a

Please sign in to comment.