title: Seaborn barplot unsupported data type
body: <p>I'm a newbie in pandas and seaborn.
  I have a simple CSV file like this:</p>
  
  <pre><code>quarter;industry1;industry2;industry3;job_vacancy
  1990-Q1;manufacturing;food, beverages and tobacco;food, beverages and tobacco;500
  1990-Q1;manufacturing;textile and wearing apparel;textile and wearing apparel;5100
  1990-Q1;manufacturing;paper products and publishing;paper products and publishing;1100
  1990-Q1;manufacturing;petroleum and chemical products;petroleum and chemical products;600
  1990-Q1;manufacturing;rubber and plastic products;rubber and plastic products;100
  </code></pre>
  
  <p>In Jupyter notebook, I'm trying to plot a bar graph.</p>
  
  <p><a href="https://i.stack.imgur.com/TQv9p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TQv9p.png" alt="enter image description here"></a></p>
  
  <p>So far it's fine.
  But the real data is not all numeric. So for example, I change the value of the last row to be "-".</p>
  
  <pre><code>quarter;industry1;industry2;industry3;job_vacancy
  1990-Q1;manufacturing;food, beverages and tobacco;food, beverages and tobacco;500
  1990-Q1;manufacturing;textile and wearing apparel;textile and wearing apparel;5100
  1990-Q1;manufacturing;paper products and publishing;paper products and publishing;1100
  1990-Q1;manufacturing;petroleum and chemical products;petroleum and chemical products;600
  1990-Q1;manufacturing;rubber and plastic products;rubber and plastic products;-
  </code></pre>
  
  <p>When I tried to run the same code, I'll receive an error:
  <a href="https://i.stack.imgur.com/zErPc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zErPc.png" alt="enter image description here"></a></p>
  
  <p>yadayadayada, the point is:
  <a href="https://i.stack.imgur.com/AdhD2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AdhD2.png" alt="enter image description here"></a></p>
  
  <p>May I know what's actually going on? I know there are non-numeric value in the whole dataframe, but I thought I'm only getting the top 3 of the whole data, and they all have numeric value for "job_vacancy" column?</p>
  
  <p>How should I do it to make the bar graph?</p>
  
  <h2><strong>Edit:</strong></h2>
  
  <p>I somehow make it work. The way I do it is to make a deep copy of the dataframe, and thanks to @asongtoruin, set everything to numeric.</p>
  
  <pre><code>df = pd.read_csv("test.csv", delimiter=";")
  data = df.loc[:2].copy(1)
  data.head()
  data['job_vacancy'] = pd.to_numeric(arg=data['job_vacancy'],errors='coerce').fillna(0)
  snsplot = sns.barplot(x="industry3", y="job_vacancy", data=data, orient="v")
  </code></pre>
  
  <p>Now I'm just wondering if this is the correct or proper way to do it.</p>