0

I have a data frame that looks like below;

initial dataframe

Would like to rotate make the values on the first column the headers(basically to below output

Output I'd like

mandella
  • 180
  • 1
  • 17
WNT01
  • 3
  • 3
  • 1
    please read [how-to-make-good-reproducible-pandas-examples](https://stackoverflow.com/questions/20109391/how-to-make-good-reproducible-pandas-examples) and [why-not-upload-images-of-code-on-so-when-asking-a-question](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-on-so-when-asking-a-question) – Brown Bear May 15 '20 at 05:58
  • maybe this can help https://stackoverflow.com/questions/51193459/python-pandas-convert-a-column-to-column-header – mandella May 15 '20 at 06:29

0 Answers0