Skip to content

Instantly share code, notes, and snippets.

Last active Mar 26, 2020
What would you like to do?
#importing library
from collections import Counter
#computing frequency of each note
freq = dict(Counter(notes_))
#library for visualiation
import matplotlib.pyplot as plt
#consider only the frequencies
no=[count for _,count in freq.items()]
#set the figure size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment