title: Is there a Python function that does what mapply do in R
body: <p>Is there a function in Python that can do what Mapply do in R?</p>
  
  <p>Basically I have a list of n inputs(each entry is a dataframe) for a function and corresponding lists(each list has the length of n) of parameters. </p>
  
  <p>In each parameter lists, the position of each parameter corresponds to the respective position of input in the input list. </p>
  
  <p>Now I wish to obtain the result in the exact order of the way I put my input, either in the form of a list with each element a dataframe(or matrix or whatever) or just one dataframe with all result appended. This is easily achievable in R using Mapply, but in python, I haven't got the luck to find any function that does the trick.</p>
  
  <p>I haven't try this but one of the solution that i thought of is to pd.concat all lists(including input list and parameter lists) I got into one bulky list by column and apply the function to each row where I'll extract each element of the row to fill the function.</p>
  
  <p>This might work but it would look quite stupid if there is actually one-line solution.</p>
  
  <p>This is how I would deal with the problem in R:</p>
  
  <pre><code>result &lt;- mapply(FUN = function(input, parameter1, parameter2) function_of_interest(input, parameter1, parameter2), input = input_list, parameter1 = parameter1_list, parameter2 = parameter2_list,... )
  </code></pre>