# if you want to delete rows containing NA values df.dropna(inplace=True)
new_df <- na.omit(df, c("myvar1", "myvar2")) # Remove NA on specific variables