I want to drop rows with any NaN values in my dataset.The dimension of my dataset is 9733*123.
Here is the code to drop rows with any NaN value :
dataset.dropna(how='all')
print(dataset)
Even after running this I am unable to clean my data in csv file. Can you guys help?