title: I am having a difficulty in creating a dataframe in pandas, which is taken from a particular url. Could someone look after this?
body: <pre><code>import pandas as pd
  daf = pd.read_html('https://github.com/justmarkham/DAT8/blob/master/data/beer.txt' )
  </code></pre>
  <p>*this would extract the dataset from the mentioned url but I am facing trouble in setting up the dataframe with the required index. Just lemme know how to organise the dataset properly. If you dont understand my question, just look at the code and run it and i guess you'll figure out what am i asking. *</p>