title: Remove rows containing blank space in python data frame
body: <p>I imported a csv file to Python (Using Python data frame) and there are some missing values in a CSV file. In the data frame I have rows like following</p>
  
  <pre><code>&gt; 08,63.40,86.21,63.12,72.78,,
  </code></pre>
  
  <p>I have tried everything to remove the rows containing the elements similar to the last element in the above data. Nothing works. I do not know if above is categorized as white space or empty string or what. </p>
  
  <p>Here is what I have:</p>
  
  <pre><code>result = pandas.read_csv(file,sep='delimiter')
  result[result!=',,']
  </code></pre>
  
  <p>This did not work. Then I have done following:</p>
  
  <pre><code>result.replace('  ', np.nan, inplace=True)
  result.dropna(inplace=True)
  </code></pre>
  
  <p>This also did not work.</p>
  
  <pre><code>result = result.replace(r'\s+', np.nan, regex=True)
  </code></pre>
  
  <p>This also did not work. I still see the row containing the ,, element.</p>
  
  <p>Also my dataframe is 100 by 1. When I import it from CSV file all the columns become 1.( I do not know if this helps)</p>
  
  <p>Can anyone tell me how to remove rows containing ,, elements?</p>