title: Convert string into Date type on Python
body: <p>I have this string:</p>
  
  <pre><code>'2012-02-10' # (year-month-day)
  </code></pre>
  
  <p>and I need it to be as date type for me to use the date function <code>isoweekday()</code>.</p>
  
  <p>Does anyone know how I can convert this string into a date?</p>