 class="p">)</span>
    <span class="c1"># use the section header as row category</span>
    <span class="n">sections</span> <span class="o">=</span> <span class="p">[</span><span class="n">section</span><span class="o">.</span><span class="n">get_text</span><span class="p">()</span><span class="o">.</span><span class="n">strip</span><span class="p">()</span> <span class="k">for</span> <span class="n">section</span> <span class="ow">in</span> <span class="n">soup</span><span class="o">.</span><span class="n