Skip to content

Commit

Permalink
convert to float
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-krismer committed Jun 12, 2023
1 parent 38b0b46 commit eaa6ee0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alphastats/DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def create_matrix(self):
mat = df.transpose()
# remove proteins with only zero
self.mat = mat.loc[:, (mat != 0).any(axis=0)]
self.mat = self.mat.astype(float)
# reset preproccessing info
self.preprocessing_info = self._save_dataset_info()
self.preprocessed = False
Expand Down

0 comments on commit eaa6ee0

Please sign in to comment.