Question 5
Suppose that we load a data set that contains 1000 samples in a Pandas Dataframe. Each sample has 30 features. However, a few samples in the data set miss the values for all features. Therefore, those samples need to be dropped. Choose the method that removes such samples from the dataset?
drop(columns=[‘all’])
drop(how=‘all’)
dropna()
dropna(how=‘all’)
dropna.all()