Hi everybody, I need to find the most frequent value in a data set, like this:
https://en.wikipedia.org/wiki/Mode_(statistics)
Any idea if an object exist or a way to achieve that in pd?
Thanks!
Most frequent value in a data set
Hi everybody, I need to find the most frequent value in a data set, like this:
https://en.wikipedia.org/wiki/Mode_(statistics)
Any idea if an object exist or a way to achieve that in pd?
Thanks!
@60htz Go through data set and count up for each unique value, then go through the counts and choose the highest?
This can be done with [until] and [text search].
@60htz With [text search name < field] it is even possible without until. This assumes that the count is always less than a million.
mode.pd
Wonderful
@ingox Thanks a lot! Not that easy at the end!
Oops! Looks like something went wrong!