1

data frame reshape image:

enter image description here

I have a data frame like in the image and I want to reshape the first one so the result will be like in the second one.

is there any command for that in pandas or something similar in numpy?

Anurag Dabas
  • 23,866
  • 9
  • 21
  • 41

0 Answers0