title: Pandas Store DataFrame when multiple rows are returned by Apply method
body: <p>Suppose I have a DataFrame as :</p>
  <pre><code>a=pd.DataFrame({'number':[1,2,3,4,5],'name':['A','B','C','D','E']})
  </code></pre>
  <p>I want output as :</p>
  <pre><code>b=pd.DataFrame({'number':[1,1,2,4,3,9,4,16,5,25],'name':['A','A','B','B','C','C','D','D','E','E']})
  </code></pre>
  <p>This is a simple example , what I want to achieve is run <strong>Apply</strong> function on each row of first DataFrame to some function(say func1) which will return 2 rows . Also I need to concat all the returned rows into a single Dataframe.</p>