I have a list data=['CDs', 1, 'J12345','Rainbow', None, 'Styles', 2, 'J12345', 'Rainbow', None, 'Folk', 3, 'J12345', 'Rainbow', None]
I would like to convert it to a pandas dataframe with fixed number of columns.
The result expected to be like:
category | num | series | title | brand |
'CDs' 1 J12345 Rainbow None
'Styles' 2 J12345 Rainbow None
'Folk' 3 J12345 Rainbow None