np.float you are using in impute function is deprecated (line 404 in great.py file). You have to change to float or to np.float64:
Current:
df_curr[self.num_cols] = df_curr[self.num_cols].astype(np.float)
Change:
df_curr[self.num_cols] = df_curr[self.num_cols].astype(float)
or
df_curr[self.num_cols] = df_curr[self.num_cols].astype(np.float64)
np.float you are using in impute function is deprecated (line 404 in great.py file). You have to change to float or to np.float64: Current: df_curr[self.num_cols] = df_curr[self.num_cols].astype(np.float) Change: df_curr[self.num_cols] = df_curr[self.num_cols].astype(float) or df_curr[self.num_cols] = df_curr[self.num_cols].astype(np.float64)