DataFrame dibagi berdasarkan rowsum

result.div(result.sum(axis=1), axis=0)
Tough Tuatara