0

I have a dataframe that is currently looking like a time series:

Name 1 2 3 4 5 6 7 8......
A (values)
B (values)
C (values)
D (values)

The numbers (1,2,3,etc) are years... and (values) basically represents that for each name, I have data for each year.

Optimally I would like to have smth like this:

Name Year Value
A 1 (Value)
A 2 (Value)
A 3 (Value)
A 4 (Value)
..................
B 1 (Value)

Can anyone help me please? Thanks!

PCRL
  • 109
  • 5

0 Answers0