I have a list with 2 levels and I would like to know how can I make it only 1 level list for me to use it as a column name.
My List:
[['great',
'jeans',
'wear',
'comfortable',
'pants',
'perfect',
'soft',
'cute',
'pair'],
['wear',
'summer',
'great',
'perfect',
'white',
'tank',
'shirt',
'fabric',
'underneath'],
['compliments',
'color',
'wore',
'wear',
'beautiful',
'received',
'got',
'great',
'bought'],
['sweater',
'great',
'soft',
'nice',
'color',
'fabric',
'material',
'looks',
'fits'],
['waist',
'short',
'just',
'pants',
'long',
'little',
'length',
'petite',
'wear'],
['store',
'tried',
'online',
'saw',
'sale',
'just',
'price',
'try',
'retailer'],
['small',
'large',
'medium',
'wear',
'ordered',
'runs',
'usually',
'little',
'big'],
['fabric',
'skirt',
'flattering',
'just',
'length',
'cut',
'color',
'nice',
'look']]
Expected Result:
["great,
jeans,
wear,
comfortable,
pants,
perfect,
soft,
cute,
pair"],
["wear,
summer,
great,
perfect,
white,
tank,
shirt,
fabric,
underneath"],
["compliments,
color,
wore,
wear,
beautiful,
received,
got,
great,
bought"],
["sweater,
great',
soft',
nice',
color',
fabric',
material',
looks',
fits"],
["waist,
short,
just,
pants,
long,
little,
length,
petite,
wear"],
["store,
tried,
online,
saw,
sale,
just,
price,
try,
retailer"],
["small,
large,
medium,
wear,
ordered,
runs,
usually,
little,
big"],
["fabric,
skirt,
flattering,
just,
length,
cut,
color,
nice,
look"]