Ranking per key - Example 1


#1

Originally published at: http://www.itversity.com/topic/cca175-ranking-per-key-example-1-python/

Per key or per group ranking gives valuable insight to make executive decision for a given organisation. Getting ranking per group is one of the advanced transformation. Per key or Per group ranking can be achieved using Good knowledge of programming languages such as Python, especially manipulating collections groupByKey with flatMap After groupByKey, we need…