title: How to convert .csv file to .md using python
body: <p>Input csv file content:</p>
  <pre><code>Loop Count,1000,,,,,
  Data1,Artefact,,,,,
  ,TWHashTable,,,,,
   , ,Insert,TBB:892,TW:6242,,
   , ,Find,TBB:203,TW:721,,
   , ,DeleteAll,TBB:33,TW:1372369,,
  Data2,Artefact,,,,,
  ,TWUtils,,,,
   , ,Insert,TBB:892,TW:6242,,
   , ,Find,TBB:203,TW:721,,
   , ,DeleteAll,TBB:33,TW:1372369,,
  </code></pre>
  <h1>Expected output:</h1>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Loop Count</th>
  <th>1000</th>
  <th>FIELD3</th>
  <th>FIELD4</th>
  <th>FIELD5</th>
  <th>FIELD6</th>
  <th>FIELD7</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>Data1</td>
  <td>Artefact</td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td>TWHashTable</td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>Insert</td>
  <td>TBB:892</td>
  <td>TW:6242</td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>Find</td>
  <td>TBB:203</td>
  <td>TW:721</td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>DeleteAll</td>
  <td>TBB:33</td>
  <td>TW:1372369</td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td>Data2</td>
  <td>Artefact</td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td>TWUtils</td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>Insert</td>
  <td>TBB:892</td>
  <td>TW:6242</td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>Find</td>
  <td>TBB:203</td>
  <td>TW:721</td>
  <td></td>
  <td></td>
  </tr>
  <tr>
  <td></td>
  <td></td>
  <td>DeleteAll</td>
  <td>TBB:33</td>
  <td>TW:1372369</td>
  <td></td>
  <td></td>
  </tr>
  </tbody>
  </table>
  </div>