Closed benboughton1 closed 3 years ago
yes :) added slicing support (latest version)
var sliceArray = [
[1, 2, 3, 4, 5],
[6, 7, 8, 9, 10]
];
var newArray = m2d.slice(sliceArray, [0, 2], [1, 4]);
print(newArray);
// [[2, 3, 4],[7, 8, 9]]
Fantastic. Thank-you @NazeemNato
Is there a way to do array slicing as per this numpy example?
https://www.w3schools.com/python/numpy/trypython.asp?filename=demo_numpy_array_slicing_2d3