1# making new data frame with dropped NA values
2new_data = df.dropna(axis = 0, how ='any')
1df = df[pd.notnull(df['RespondentID'])]
2# Drop the missing value present in the "RespondentID" column
3
1# Drop rows which contain any NaN value in the selected columns
2mod_df = df.dropna( how='any',
3 subset=['Name', 'Age'])