title: TypeError: f() takes 1 positional argument but 2 were given
body: <p>I can't figure out why i get the error message</p>
  <pre><code>TypeError                                 
  TypeError: f() takes 1 positional argument but 2 were given
  </code></pre>
  <p>I have this code
  `</p>
  <pre><code>df_dur=user.groupby(['Date'], as_index=False).sum(['Duration'])
  df_dur=df_dur.duration
  print('DF Duration:\n', df_dur)`
  </code></pre>
  <p>How can i do ?</p>