title: How to create a new column with the continent names of each country?
body: <p>I have a list of countries in a column and I need to get their continent in a new column.</p>
  
  <p>My list has 180 different countries 
  <br /></p>
  
  <p><i>
  <strong>country</strong>        </p>
  
  <p>Switzerland<br>
  France<br>
  Denmark<br>
  China
  Argentina</p>
  
  <p><br /></p>
  
  <p></i></p>
  
  <p>and I need to get their continents like the following one </p>
  
  <p></p>
  
  <p><strong>country -continent</strong><br>
  <br />Switzerland - europe</p>
  
  <p>France - europe</p>
  
  <p>Denmark - europe</p>
  
  <p>China - asia</p>
  
  <p>Argentina - america
  
  </p>
  
  <p><br /></p>
  
  <p>I read something about pycountry-convert, but my apologies I couldn't find good documentation or examples.  </p>
  
  <p><br />
  You can see my code and the data frame <a href="https://kyso.io/helenadomo/environment-health-per-country" rel="nofollow noreferrer">here</a> </p>