title: How to get the first sheet of an excel workbook using openpyxl?
body: <p>I'm able to get the desired sheet by using wb[&quot;sheet_name&quot;] method but I want to get the first, or let's say the nth sheet, regardless of the name.</p>
  <pre><code>wb = load_workbook(filename = xlsx_dir)   # xlsx_dir is the workbook path
  
  ws = wb[&quot;Details&quot;]   # Details is the sheet name
  </code></pre>