title: How to ensure that a row does not have any "" in a dataframe?
body: <p>I am pretty new to R, come from a Python background. I have loaded a dataframe as such:</p>
  
  <pre><code>df = read.csv('data.csv', stringsAsFactors = FALSE, 
  colClasses = colClass,na.strings = c("NA", ""))
  </code></pre>
  
  <p>My objective is to ensure that there are no missing values in my dataframe. I was thinking of writing code as such:</p>
  
  <pre><code>df = na.omit(df)
  </code></pre>
  
  <p>It wasn't removing the missing values, I then realized that it could be because of the importing of the dataframe. I imported it into a dataframe where I changed the "NA" to "". </p>
  
  <p>My question is, is there a function similar to NA in which  I could explicitly remove rows that have values ""? </p>
  
  <p>Any help would be great!</p>
  
  <p>Edit1 :Here is the first row:
  <a href="https://i.stack.imgur.com/rCO1l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rCO1l.png" alt="enter image description here"></a></p>
  
  <p>Edit2: Here is the structure of the dataframe:
  <a href="https://i.stack.imgur.com/2243E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2243E.png" alt="enter image description here"></a></p>