from numpy import genfromtxt
Birds = genfromtxt('DataLot.csv', dtype=int, delimiter=',')
import statistics
from collections import Counter
columnaA = Birds[:,1]
print(Counter(columnaA).most_common(6))
print("The multimode of list is : ", statistics.multimode(columnaA))
print("The mode of list is : ", statistics.mode(columnaA))
This gives me this result:
[(9, 93), (10, 90), (8, 89), (13, 83), (11, 83), (5, 80)]
The multimode of list is : [9]
The mode of list is : 9
Why can't I get a Multimode list? If you see only shows one result for Multimode.