bioinfo-ut / PhenotypeSeeker

Identify phenotype-specific k-mers and predict phenotype using sequenced bacterial strains
GNU General Public License v3.0
18 stars 10 forks source link

pandas error #7

Closed duceppemo closed 5 years ago

duceppemo commented 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]

erkiaun commented 5 years ago

Renewed the code, the first approach is indeed deprecated in latest pandas versions.