D
datta.abhirup
Hi
How can I find out the modal value in an array. That is the value
which occurs maximum time in the sequence ..
e.g. if my array has values like [2,3,2,2,2,4,2,2] definitely the
maximum time 2 occurs in the array. so this function should be able to
return 2 as a result ..
So is there any function in built in python which can do that ?
Thanks
Abhirup
How can I find out the modal value in an array. That is the value
which occurs maximum time in the sequence ..
e.g. if my array has values like [2,3,2,2,2,4,2,2] definitely the
maximum time 2 occurs in the array. so this function should be able to
return 2 as a result ..
So is there any function in built in python which can do that ?
Thanks
Abhirup