I've got a list of PySpark Row
as:
data_list_array = [Row(url='[a,b,c]'),Row(url='[d,b,c]')]
my_list = [(i.url) for i in data_list_array]
print(my_list)
returns me
['[a,b,c]', '[d,b,c]']
But i'm wanting my final data to be as:
[['a','b','c'], ['d','b','c']]
Is there anyway i can convert from list of strings to list of list ?