title: python pandas: apply a function with arguments to a series
body: <p>I want to apply a function with arguments to a series in python pandas:</p>
  
  <pre><code>x = my_series.apply(my_function, more_arguments_1)
  y = my_series.apply(my_function, more_arguments_2)
  ...
  </code></pre>
  
  <p>The <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.apply.html" rel="noreferrer">documentation</a> describes support for an apply method, but it doesn't accept any arguments.  Is there a different method that accepts arguments?  Alternatively, am I missing a simple workaround?</p>
  
  <p><strong>Update (October 2017):</strong>  Note that since this question was originally asked that pandas <code>apply()</code> has been updated to handle positional and keyword arguments and the documentation link above now reflects that and shows how to include either type of argument.</p>