Can you please help me with the following. I have the following pandas df:
FB AMZN AAPL NFLX GOOG
date
2004-01-01 10 4 1 7 0
2004-02-01 4 0 0 0 23
2004-03-01 6 0 0 0 34
2004-04-01 0 0 0 0 0
2004-05-01 0 0 0 0 0
Instead of the columns as in the above df, I want to have three columns: Companym, date and Score, Particularly, how can I make the pd DF in the following template:
Company date Score
FB 01.01.2004 10
FB 01.02.2004 4
FB 01.03.2004 6
FB 01.04.2004 0
FB 01.05.2004 0
AMZN 01.01.2004 4
AMZN 01.02.2004 0
AMZN 01.03.2004 0
AMZN 01.04.2004 0
AMZN 01.05.2004 0
AAPL 01.01.2004 1
AAPL 01.02.2004 0
AAPL 01.03.2004 0
AAPL 01.04.2004 0
AAPL 01.05.2004 0
NFLX 01.01.2004 7
NFLX 01.02.2004 0
NFLX 01.03.2004 0
NFLX 01.04.2004 0
NFLX 01.05.2004 0
GOOG 01.01.2004 0
GOOG 01.02.2004 23
GOOG 01.03.2004 34
GOOG 01.04.2004 0
GOOG 01.05.2004 0