I have the following framework, which I would like to sort first by Criticality, and then by name:
Name Criticality baz High foo Critical baz Low foo Medium bar High bar Low bar Medium ...
I tried to do this using the answer provided in this post , but I just can't get it to work.
The end result should be like this:
Name Criticality bar High bar Medium bar Low baz High baz Low foo Critical foo Medium
python sorting pandas
Blark
source share