What if we have 2 columns with possible na rows

0 votes
Oct 23, 2020 in Data Analytics by anonymous
• 120 points

edited Oct 23, 2020 by MD 231 views

1 answer to this question.

0 votes


You can do this in multiple ways. For example, you have two columns with possible NA values. Now you can create one Dataframe from your main dataset with those two columns. After that, you can use drop_na() to your Dataframe. It will remove all NA values.

answered Oct 23, 2020 by MD
• 95,300 points

Related Questions In Data Analytics

+1 vote
1 answer

Binding rows of 2 data-frames which have non-identical columns

You can use the smartbind() function from ...READ MORE

answered May 22, 2018 in Data Analytics by Bharani
• 4,620 points
0 votes
1 answer

What are the important skills to have in Python with regard to data analysis?

The following are some of the important ...READ MORE

answered Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
+1 vote
1 answer

Can we have an if loop inside a for loop in R programming?

You're If loop doesn't have any condition ...READ MORE

answered Dec 21, 2018 in Data Analytics by Sophie may
• 10,550 points
+10 votes
1 answer

Will random forest algorithm work if rows have a few duplicate values?

I have no idea about RandomForest, but ...READ MORE

answered Oct 29, 2019 in Data Analytics by Cherukuri
• 33,010 points
0 votes
2 answers

What is difference between Distributed search head and Search head cluster?

 A distributed environment describes the separation of ...READ MORE

answered Dec 4, 2018 in Data Analytics by Ali
• 11,330 points
+2 votes
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

answered Aug 7, 2018 in Data Analytics by Priyaj
• 58,140 points
0 votes
7 answers
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

answered Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
0 votes
5 answers

How to remove NA values with dplyr::filter()

Hi, The dplyr has ’filter()’ function to do such filtering, ...READ MORE

answered Dec 10, 2020 in Data Analytics by MD
• 95,300 points
0 votes
1 answer

How do you have 2 different colors in a bar graph, ggplot in where one color for the negatives and positives

Hi@Andris, Once you have the data, you can make the ...READ MORE

answered Oct 5, 2020 in Data Analytics by MD
• 95,300 points