Python Apply Multiple Columns In Latex