Using a loop, how can I convert a string in a unique term, where all the words are linked together with '_'?
starting from this:
[['Drama'],
['Drama', 'Horror', 'Thriller'],
['Drama'],
['Children', 'Drama'],
['Comedy', 'Drama', 'Horror', 'Thriller']
I would obtain this:
[['Drama'],
['Drama_Horror_Thriller'],
['Drama'],
['Children_Drama'],
['Comedy_Drama_Horror_Thriller']