I would to transform my DataFrame using python pandas :
l1=['andre','Marc']
l2=[5,12]
l3=[3,64]
dfWeeks=pd.DataFrame(list(zip(l1,l2,l3)), columns=['Name','22-2019','23-2019'])
dfWeeks
It looks like this :
Name 22-2019 23-2019
andre 5 3
Marc 12 64
I would Like to tranform it and have:
Name Number Dates
andre 5 22-2019
andre 3 23-2019
Marc 12 22-2019
Marc 64 23-2019
I have tried pivot talbe or group by but I cannot manage to do it.
Thanks in advance.