Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Last active February 20, 2021 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aravindpai/abc415c1e225fddc429d1d7b088a6f5c to your computer and use it in GitHub Desktop.
Save aravindpai/abc415c1e225fddc429d1d7b088a6f5c to your computer and use it in GitHub Desktop.
new_music=[]
for notes in notes_array:
temp=[]
for note_ in notes:
if note_ in frequent_notes:
temp.append(note_)
new_music.append(temp)
new_music = np.array(new_music)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment