I am trying to map the str.split function to an array of string. namely, I would like to split all the strings in a string array that follow the same format. Any id
str.split
map(lambda x: x.split(), a) but, using a list comprehension [x.split() for x in a] is much clearer in this case.
map(lambda x: x.split(), a)
[x.split() for x in a]