title: Unable to save csv file with Pandas
body: <p>Sorry for the dummy question but I read lots of topics but my code still do not create and save a .csv file.</p>
  
  <pre><code>import pandas as pd
  def save_csv(lista):
      try:
          print("Salvando...")
          name_path = time.strftime('%d%m%y') + '01' + '.csv'
          df = pd.DataFrame(lista, columns=["column"])
          df.to_csv(name_path, index=False)
      except:
          pass
  
  dados = [-0.9143399074673653, -1.0944355744868517, -1.1022400576621294]
  save_csv(dados)
  </code></pre>
  
  <p>Path name is 'DayMonthYear01.csv' (20121701.csv).</p>
  
  <p>When I run the code it finishes but no file is saved.</p>
  
  <p>The output of the code is just:</p>
  
  <pre><code>&gt;&gt;&gt;
  RESTART: C:\Users\eduhz\AppData\Local\Programs\Python\Python36-32\testeCSV.py
  Salvando...
  &gt;&gt;&gt;
  </code></pre>
  
  <p>Does anyone knows what am I missing?</p>