I want to transform columns into rows and rows into columns. I wrote a python code, but every row is getting repeated. It is not getting properly transformed. Any help would