title: Passing arguments to a list of functions in Pandas GroupBy `agg()`
body: <p>I am trying to find the <code>min</code>, <code>max</code>, <code>mean</code>, <code>sum</code> and <code>std</code> of some columns of GroupBy object in Pandas. To do that my original code was this:</p>
  
  <pre><code>df_agg = df.groupby('id')[column_list].agg(['mean', 'max', 'min', 'sum', 'std'])
  </code></pre>
  
  <p>But this was producing a lot of <code>NaN</code>s in the <code>std</code> columns. Upon searching, I <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.std.html" rel="nofollow noreferrer">found that</a> <code>std</code> accepts an argument - <code>ddof</code>(Delta Degrees of Freedom) - which is set to 1 by default. This was causing a division by 0 error and giving those <code>NaN</code> values.</p>
  
  <p>Now, I want to send an argument <code>ddof=0</code> in the <code>std</code> that is used in the above code but I don't understand how I can do that. </p>
  
  <p>Please help.</p>