Python newbie here.
I have a CSV file containing numbers in this kind of format
9143.680696, 427953.500000, 11919.104475, 11908.727555, 1.000871, 0.029506, 15.546608, 93, 121, 123, 7
7704.773182, 330297.500000, 19186.759308, 19170.146116, 1.000867, 0.029426, 14.302257, 93, 121, 123, 7
I need to read the file such that the list will go like this
[
[[9143.680696, 427953.500000, 11919.104475, 11908.727555, 1.000871, 0.029506, 15.546608, 93, 121, 123], [7]],
[[7704.773182, 330297.500000, 19186.759308, 19170.146116, 1.000867, 0.029426, 14.302257, 93, 121, 123], [7]]
]
The last number of every line is stored in a different list like in the case of 7 here.
I have researched some of the answers here but have found that they are stored as strings into the list which would not be compatible to the problem I am dealing with.
Thank you in advance for your help.