Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Converting a list of list of strings to list of list of numbers

I have this list of string

[['1.1 1.2 1.3'], ['2.1 2.2 2.3'], ['3.1 3.2 3.3'], ['4.1 4.2 4.3']]

How can I convert it to

[[1.1,1.2,1.3], [2.1,2.2,2.3],[3.1,3.2,3.3], [4.1,4.2, 4.3]]