title: how to sort dataframe based on particular (string)columns using python pandas?
body: <p>My Pandas data frame contains the following data:</p>
  <pre><code>product,values
   a1,     10
   a5,     20
   a10,    15
   a2,     45
   a3,     12
   a6,     67
  </code></pre>
  <p>I have to sort this data frame based on the product column. Thus, I would like to get the following output:</p>
  <pre><code>product,values
   a10,     15
   a6,      67
   a5,      20
   a3,      12
   a2,      45
   a1,      10
  </code></pre>
  <p>Unfortunately, I'm facing the following error:</p>
  <blockquote>
  <p>ErrorDuringImport(path, sys.exc_info())</p>
  <p>ErrorDuringImport: problem in views - type 'exceptions.Indentation</p>
  </blockquote>