• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How to remove NAs from a certain column in data frames in a list?

Resolved: How to remove NAs from a certain column in data frames in a list?

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I have a list (my.list) that looks like this:
I want to remove the rows that are ‘NA’ in column D, but only if they are also ‘PTA’ in Column C.
My desired output would look like this:
How can I go about doing this?
Reproducible Data:
Created on 2022-06-16 by the reprex package (v2.0.1)

If you have better answer, please add a comment about this, thank you!

lapply list na r
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Java Virtual Machines deleted

27/03/2023

Resolved: PyCharm cannot see my newly compiled .pyc see on import

27/03/2023

Resolved: I am facing ERR_HTTP2_PROTOCOL_ERROR on my website

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.