title: saving a dataframe to csv file (python)
body: <p>I am trying to restructure the way my precipitations' data is being organized in an excel file. To do this, I've written the following code:</p>
  
  <pre><code>import pandas as pd
  
  df = pd.read_excel('El Jem_Souassi.xlsx', sheetname=None, header=None)
  data=df["El Jem"]
  
  T=[]
  for column in range(1,56):
      liste=data[column].tolist()
      for row in range(1,len(liste)):
          liste[row]=str(liste[row])
          if liste[row]!='nan':
              T.append(liste[row])
  
  result=pd.DataFrame(T)
  result
  </code></pre>
  
  <p>This code works fine and through Jupyter I can see that the result is good
  <a href="https://i.stack.imgur.com/gttE6.jpg" rel="noreferrer">screenshot</a></p>
  
  <p>However, I am facing a problem when attempting to save this dataframe to a csv file.</p>
  
  <pre><code> result.to_csv("output.csv")
  </code></pre>
  
  <p>The resulting file contains the vertical index column and it seems I am unable to call for a specific cell.</p>
  
  <p>(Hopefully, someone can help me with this problem)
  Many thanks !!</p>