title: How to do element wise operation of Pandas Series to get a new DataFrame
body: <p>I have a Pandas Series of numbers, lets say <code>[1,2,3,4,5]</code>. I want an efficient way to create a dataframe with each combination of series element passed through a function and the result being the corresponding dataframe element</p>
  
  <p>Lets say the function is </p>
  
  <pre><code>def f1(a,b):
     return a*b + 5
  </code></pre>
  
  <p>then I want the dataframe to be like below, with each cell being the result of the function call with combination of series element.</p>
  
  <pre><code>col_1___2___3___4___5__
  row|
    1|6,  7,  8,  9,  10
    2|7,  9,  11, 13, 15
    3|8,  11, 14, 17, 20
    4|9,  13, 17, 21, 25
    5|10, 15, 20, 25, 30
  
  </code></pre>
  
  <p>The series can sometimes be as much as 500 elements. </p>
  
  <p>Thanks in advance!</p>