title: how do you keep leading zeros in a csv file using python?
body: <p>Lets say my csv file looks something like this:</p>
  
  <pre><code>acc_num,pincode
  023213821,23120
  002312727,03131
  231238782,29389
  008712372,00127
  023827812,23371
  </code></pre>
  
  <p>when I open this file in excel , it removes the leading zeros , but here I need to keep them . This is how it looks when i open it in excel</p>
  
  <pre><code>acc_num,pincode
  23213821,23120
  2312727,3131
  231238782,29389
  8712372,127
  23827812,23371
  </code></pre>
  
  <p>I tried converting this into a string but it still shows it without 0 (but its a string now)
  I tried using the astype() function from pandas but there's no point in using it </p>
  
  <p>Any help would be appreciated </p>