title: How to read html table in pandas and output to dataframe not list
body: <p>I am reading html table from html file into pandas, and want to get it as a dataframe not a list so that I can perform general dataframe operations.</p>
  
  <p>I am facing error as below whenever I try anything except for printing whole dataframe.</p>
  
  <pre><code>print(dfdefault.shape())
  AttributeError: 'list' object has no attribute 'shape'
  </code></pre>