title: How to drop the index column while writing the DataFrame in a .csv file in Pandas?
body: <p>My DataFrame contains two columns named 'a','b'. 
  Now when I created a csv file of this DataFrame:</p>
  
  <blockquote>
    <p>df.to_csv('myData.csv')</p>
  </blockquote>
  
  <p>And when I opened this in an excel file, there is an extra column with indices that appears alongside the columns 'a' and 'b', but I don't want that. I only want columns 'a' and 'b' to appear in the excel sheet.</p>
  
  <p>Is there any way to do this?</p>