title: Remove the Column names in to_excel in python
body: <p>I want to search the specific words are present in the dataframe. If word is present in the dataframe, need to export the subset of dataframe  in to Excel.
  Here problem is every time it is calling columns names. Column names are same for all dataframes.</p>
  
  <pre><code> df = pd.DataFrame({
      'Name': ['Ann', 'Juh', 'Jeo', 'Sam'],
      'Age': [43,29,42,59],
      'Task1': ['Drafting a letter', 'Sending', 'Pasting', 'Sending'],
      'Task2': ['Sending', 'Paking', 'Sending', 'Pasting'],
      'Task3': ['Packing', 'Letter Drafting', 'Paking', 'Letter Drafting']
      })
  
  writer = pd.ExcelWriter("C:..\\pp.xlsx", engine='xlsxwriter')
  row = 0
  b = ['Sending','paking']
      for var in b: ----&gt; # Here 'b' is searchable keywords.
  
  
          lower_df = df.apply(lambda x: x.astype(str).str.lower())
  
          margin = df[lower_df.iloc[:,3:5].astype(str).apply(lambda x: x.str.contains(var.lower())).any(axis=1)]
  
  
          margin['search_term'] = var   ---&gt; #Create the column with search keyword 
  
  
          if len(margin) &gt; 0: ---&gt;    #If no data found need to eliminate
              margin.to_excel(writer,startrow=row)
              row = row + len(margin.index) +1
  
  
      writer.save()
  </code></pre>
  
  <p>If i use <code>header=False</code> it removes the all the column names but I want keep the starting of dataframe.</p>