From Roman Musatov, 4 Months ago, written in Python, viewed 66 times.
URL http://codebin.org/view/5d31ea7f Embed
Download Paste or View Raw
  1. df_agg = pd.pivot_table(df_merged, index = ('user_id', 'month_num'), values = ('distance','duration'), aggfunc=('sum','count'))
  2. df_agg

Replies to Task_5_1 rss

Title Name Language When
Re: Task_5_1 Roman Musatov python 4 Months ago.

Reply to "Task_5_1"

Here you can reply to the paste above