title: Combining several dataframe results with for Loop in Python Pandas
body: <p>Lets say I have these functions:</p>
  
  <pre><code>def query():
      dict = (
               { "NO" : 1, "PART" : "ALPHA" }, 
               { "NO" : 2, "PART" : "BETA" }
             )
      finalqueryresult = pandas.DataFrame()
  
      for info in dict: #I use this loop to request query depends on the dict data, in this example twice (2 records from dict)
           finalqueryresult.append( sendquery(info["NO"], info["PART"]) )
  
  def sendquery( no, part):
       *some code to request query to server and save it under reqresult variable*
       *.....*
       *.....*
       return reqresult
  </code></pre>
  
  <p>For example above, when sending first query (record with "NO" = 1) it will return: (lets say this is <strong>df1</strong>)</p>
  
  <pre><code>  NAME  COUNTRY
  1  RYO   JPN
  2  JON   NZ
  </code></pre>
  
  <p>and the last query (record with "NO" = 2): (lets say this <strong>df2</strong>)</p>
  
  <pre><code>   NAME    COUNTRY
  1  TING      CN
  2  ASHYU     INA
  </code></pre>
  
  <p>and what I want is <strong>finalqueryresult</strong> will be like this: (<em>df1 combined with df2</em>):</p>
  
  <pre><code>  NAME     COUNTRY
  1 RYO        JPN
  2 JON        NZ
  3 TING       CN
  4 ASHYU      INA
  </code></pre>
  
  <p>But I failed, the <strong>finalqueryresult</strong> is always empty. I suppose something is wrong with this:</p>
  
  <pre><code>for info in dict:
       finalqueryresult.append( sendquery(info["NO"], info["PART"]) )
  </code></pre>