Untitled

From Beefy Pig, 2 Months ago, written in Plain Text, viewed 43 times.
URL http://codebin.org/view/f12e6ae4 Embed
Download Paste or View Raw
  1. def number_tracks(day, city):
  2.     track_list = df[(df['day']==day) & (df['city']==city)]
  3.     track_list_count = track_list['user_id'].count()
  4.     return track_list_count

Reply to "Untitled"

Here you can reply to the paste above