title: How to write a dataframe to excel, SPECIFICALLY to an existing sheet by not overwriting existing data
body: <p>I need to write multiple dataframes to an excel file. These dataframes needs to be written to a specific sheet and it should not overwrite existing data on that sheet.</p>
  <p>The code I have is as follows:</p>
  <pre><code>excelbook = test.xlsx
  book = load_workbook(excelbook)
  writer = pd.ExcelWriter(excelbook, engine = 'openpyxl')
  writer.book = book
  df.to_excel(writer, sheet_name = 'apple', startcol=5, startrow=0)
  
  writer.save()
  writer.close()
  </code></pre>
  <p>Problem with my code is, each time I run it to write a dataframe, it is creating a new sheet in the excel file. For example, if the sheet name I need is &quot;apple&quot;, then since I'm running this piece of code 3 times (to write 3 dataframes to the same sheet), it is creating a new sheet each time and naming them as - &quot;apple1&quot;, &quot;apple2&quot; and &quot;apple3&quot;</p>
  <p><strong>I need to write multiple dataframes to the same excel file, to the same sheet in that file, without overwriting the existing data in the sheet.</strong></p>
  <p>Please help. Thanks in advance.</p>