title: Linking nested tables in pandas
body: <p>I am able to read the inner tables directly using the code below.</p>
  
  <pre><code>url='https://s3.amazonaws.com/todel162/AAKAR.html'
  df_one=pd.read_html(url, header=0, match='Number of Booked Apartment')[1]
  df_two=pd.read_html(url, header=0, match='Number of Booked Apartment')[2]
  </code></pre>
  
  <p>But how do I link the inner table with the main table? For e.g. the <strong>df_one</strong> frame mentioned above is linked to <strong>serial Number 1</strong> (outer). Is there any way to extract the outer table so that only serial number 1 and 2 is selected?</p>
  
  <hr>
  
  <p>Update:</p>
  
  <p>There is a section called "Building Details". If you visit the page, you will see the first serial number like this:</p>
  
  <pre><code>Sr.No.  Project Name    Name    Proposed Date of Completion Number of Basement's    Number of Plinth    Number of Podium's  Number of Slab of Super Structure   Number of Stilts    Number of Open Parking  Number of Closed Parking
  1   SRUSHTI COMPLEX A and B     0   1   0   5   1   48  1
  </code></pre>
  
  <p>The second serial number is this:</p>
  
  <pre><code>Sr.No.  Project Name    Name    Proposed Date of Completion Number of Basement's    Number of Plinth    Number of Podium's  Number of Slab of Super Structure   Number of Stilts    Number of Open Parking  Number of Closed Parking
  2   SRUSHTI COMPLEX C and D     0   1   0   5   1   51  1
  </code></pre>
  
  <p>The df_one dataframe is linked to Sr. No. 1 while df_two is linked to Sr. No. 2</p>
  
  <p>I expect to add the columns of Sr. No. 1 and Sr. No. 2 to df_one and df_two respectively.</p>