Parse the CSV text (comma-delimited, with missing values) into an integer array, filling missing values with 0.
text
Input
1, 2, 3, 4, 5 6, , , 7, 8 , , 9,10,11
Output
[[ 1 2 3 4 5] [ 6 0 0 7 8] [ 0 0 9 10 11]]
This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.
solve(...)