title: Python Pandas: How to replace to_csv string quoting from double quotes to single quotes
body: <p>I have a dataframe where one of the column(col2) has many commas hence when pandas output to a CSV file, it by defaults encloses that field value in double quotes.
  How do i specify that i want single quotes for columns with commas?</p>
  
  <p>df:</p>
  
  <pre><code>col1  col2     col3
  1    x;y,b;c  blabla
  
  df.to_csv('myfile.csv')
  </code></pre>
  
  <p>current CSV file:</p>
  
  <pre><code>col1,col2,col3
   1,"x;y,b;c",blabla
  </code></pre>
  
  <p>I want single quotes instead:</p>
  
  <pre><code>col1,col2,col3
   1,'x;y,b;c',blabla
  </code></pre>