Say I have a list of lists;
my_list = [['apple', 'banana', 'orange'], ['carrot', 'pumpkin', 'potato']]
Is there a way that I can convert each element in each separate list into its own list?
Output:
new_list = [[['apple'], ['banana'], ['orange']], [['carrot'], ['pumpkin'], ['potato']]]