frequency (count) in Numpy Array
For a list
L the command
L.count(z) shows the number of times that the element
z is repeated in list
[I] L=[1,1,3,1,4,5,8] [I] L.count(1) [O] 3
How can i do that with a Numpy array?
Waiting for your answers.
Thanks a lot!