0

I have the following DataFrame:

DataFrame with 2 rows and 6 columns

I'd like to transform this to a better table, where the rows are "Course", "Passed/Failed", "Completed Assignments", with columns 1-3 and 4-6 becoming the 2 columns. So far I've tried index.rename, .pivot, but nothing seems to work. Thanks for the help!

ecomo
  • 5
  • 2

0 Answers0