Closed duceppemo closed 5 years ago
line 1122 of modeling.py need to be changed from self.model_fitted.predict(row.reshape(1, -1))[0] to self.model_fitted.predict(row.values.reshape(1, -1))[0]
self.model_fitted.predict(row.reshape(1, -1))[0]
self.model_fitted.predict(row.values.reshape(1, -1))[0]
Renewed the code, the first approach is indeed deprecated in latest pandas versions.
line 1122 of modeling.py need to be changed from
self.model_fitted.predict(row.reshape(1, -1))[0]
toself.model_fitted.predict(row.values.reshape(1, -1))[0]