title: How to delete first row in excel with openpyxl
body: <p>I have an excel file, i'm trying to read the first row pass it to another function and delete the first row from the excel and save it, until all the rows in the excel file are used up.</p>
  
  <p>I tried using openpyxl i was able to delete the first row in my first attempt but when i try reading the excel file again it's giving me this exception </p>
  
  <pre><code>openpyxl.utils.exceptions.CellCoordinatesException: There is no row 0 (A0)
  </code></pre>
  
  <p>here's my code </p>
  
  <pre><code>import openpyxl
  
  filename = "example.xlsx"
  wb = openpyxl.load_workbook(filename)
  sheet = wb['Sheet1']
  status = sheet['A1'].value
  print(status)
  sheet.delete_rows(0, 1)
  wb.save(filename)
  </code></pre>