Guest User

Untitled

a guest
Jan 15th, 2020
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def find_hip_hop(df,wrong):
  2. df['genre_name'] = df['genre_name'].replace('wrong', 'hiphop')
  3. wrong_count = df[df['genre_name'] == wrong]['genre_name'].count()
  4. return wrong_count
RAW Paste Data