I have make a script in python having below output.
Output:
Output:
Output:('User ID' 'Hits', {'1982641': 10, '105350': 9, '1008313': 7, '2073270': 11, '2073279':10})
I want to sort by hits and display in row and columns, How could i do that:Output:Userid Hits
1008313 7
105350 9
1982641 10
2073279 10
2073270 11