Let's say I have a dataframe df
in the form:
| a,b,c,d |
| e,f,g |
| h |
But, using a comma delimiter, want to collapse the values into a single column dataframe like:
| a |
| b |
| c |
| d |
| e |
| f |
| g |
| h |
What's the most pythonic / Pandas-preferred solution to solving this in Python?