I have a pandas dataframe like the below:
Letters | Date |
---|---|
'Letters : a' | 2021 |
'Letters : a,b,c' | 2019 |
'Letters : a,b' | 2017 |
I want to be turned into the below, using pandas/python.
Letters | Date |
---|---|
a | 2021 |
a | 2019 |
b | 2019 |
c | 2019 |
a | 2017 |
b | 2017 |
Thank you in advance