Mercurial > repos > bimib > cobraxy
changeset 152:7f3552eaf774 draft
Uploaded
author | luca_milaz |
---|---|
date | Wed, 06 Nov 2024 21:14:57 +0000 |
parents | 8e3cbf68cdc4 |
children | a95ac9ae9648 |
files | COBRAxy/marea_cluster.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/marea_cluster.py Wed Nov 06 21:02:00 2024 +0000 +++ b/COBRAxy/marea_cluster.py Wed Nov 06 21:14:57 2024 +0000 @@ -511,11 +511,8 @@ X = pd.DataFrame.from_dict(X, orient = 'index') for i in X.columns: - tmp = X[i][0] - if tmp == None: + if any(val is None for val in X[i]): X = X.drop(columns=[i]) - - ## NAN TO HANLDE if args.k_max != None: numero_classi = X.shape[0]