swarm-learning
swarm-learning copied to clipboard
romove test.drop() function in cancer-pred example
I removed the line 63: test.drop("Unnamed: 32",axis=1,inplace=True)
The csv dataset is already been cleaned with df=df[col_names]
on line45 ,and there is no column named Unnamed: 32
.
If this line is not removed, it will result in the following error.
raise KeyError(f"{list(labels[mask])} not found in axis")
KeyError: "['Unnamed: 32'] not found in axis"