title: Loss of data while writing a pandas dataframe to CSV using to_csv with index = False in python
body: <p>I am trying to write a pandas dataframe that has just a single column with 2k rows. I want a csv file with all the 2k rows of dataframe without the index. </p>
  
  <pre><code>my_df = pd.DataFrame(test_label)
  my_df.columns = ['Names']
  my_df.to_csv('/Users/neeru/Desktop/dats/test1.csv', index = False, header = True)
  </code></pre>
  
  <p>While using the above code, I get around 1.7k rows in the saved csv file whereas when I make the <code>index = True</code>, I get all the 2k rows along with the index.</p>
  
  <p>What should I do to get a csv file with a single column containing all rows without indexes? </p>
  
  <p>P.S: I have just started using pandas.</p>