title: Merging two or more continuous tables from a list in Python
body: <p>I have a list of dataframes. These are tables that have been extracted from a pdf file. The problem that I am facing is that two of the tables that have been extracted are a continuation of each other. Please see example below:</p>
  
  <pre><code>import pandas as pd
  
  df1 = {'0':['Category','Home Services','Mobile','Internet'],'1':['Number',1,1,2]}
  df2 = {'0':['Job Title','Associate Partner','Developer 1','Developer 2'],'1':['Daily Rate',1000,1000,1000]}
  df3 = {'0':['UI Developer','UX Designer','Delivery Manager'],'1':[1000,1000,1000]}
  df4 = {'0':['Name','John','Sara','Mike'],'1':['Age',25,30,40]}
  </code></pre>
  
  <p>Here df3 is a continuation of df2. Next I put them in a list. The library that I used to extract the tables is camelot and it returns a list of dataframe. So I reproduced the final result below:</p>
  
  <pre><code>my_df1 = pd.DataFrame(df1)
  my_df2 = pd.DataFrame(df2)
  my_df3 = pd.DataFrame(df3)
  my_df4 = pd.DataFrame(df4)
  my_df_list = [my_df1,my_df2,my_df3,my_df4]
  </code></pre>
  
  <p>There can be n number of tables extracted from the pdf file. How do I merge the tables into one that are a continuation of the other? In my example df2 and df3. Is there a library that can do this? or some way that this can be achieved? Your help is generously appreciated.</p>
  
  <p>Cheers,
  Abhishek</p>