Re: Task_5_1

From Roman Musatov, 7 Months ago, written in Python, viewed 87 times. This paste is a reply to Task_5_1 from Roman Musatov - view diff
URL 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

Reply to "Re: Task_5_1"

Here you can reply to the paste above