title: Missing values in Python
body: <p>I have been trying to use &quot;dropna&quot; for &quot;?&quot; values in &quot;Price&quot; column in my dataset. But for some reason it is not working for me. It would be really helpful if someone could provide a solution to me on my dataset. I am providing all the syntax for fast input as well as the link to the file:</p>
  <pre><code>import pandas as pd
  import numpy as np
  df=pd.read_csv(r&quot;....&quot;,header=None)
  headers=[&quot;Symboling&quot;,&quot;Normalized-losses&quot;,&quot;Make&quot;,&quot;Fuel-type&quot;,&quot;Aspiration&quot;,&quot;Num-of-doors&quot;,&quot;Body-style&quot;,&quot;Drive-wheels&quot;,&quot;Engine-location&quot;,&quot;Wheel-base&quot;,&quot;Length&quot;,&quot;Width&quot;,&quot;Height&quot;,&quot;Curb-weight&quot;,&quot;Engine-type&quot;,&quot;Num-of-cylinders&quot;,&quot;Engine-size&quot;,&quot;Fuel-system&quot;,&quot;Bore&quot;,&quot;Stroke&quot;,&quot;Compression-ratio&quot;,&quot;Horsepower&quot;,&quot;Peak-rpm&quot;,&quot;City-mpg&quot;,&quot;Highway-mpg&quot;,&quot;Price&quot;]
  df.columns=headers
  df.dropna(subset=[&quot;Price&quot;],axis=0,inplace=True)
  </code></pre>
  <p>File link: <a href="https://archive.ics.uci.edu/ml/machine-learning-databases/autos/imports-85.data" rel="nofollow noreferrer">https://archive.ics.uci.edu/ml/machine-learning-databases/autos/imports-85.data</a></p>