kathrinse / be_great

A novel approach for synthesizing tabular data using pretrained large language models
MIT License
254 stars 43 forks source link

np.float is deprecated #47

Open Javihaus opened 3 months ago

Javihaus commented 3 months ago

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)

unnir commented 3 months ago

Thank you, we will adjust the code. Also, a PR is welcome.