Hey guys,
Say I had the following list:
[1, 2, 2, 2, 3, 4,4] Let's assume that the list will always be integers. Does python have a built in feature which would take a sorted list, and then return the frequency that each element occurred. For example:
1 -> 1
2 -> 3
3 -> 1
4 -> 2