We can slice a NumPy array, and assign values to it. The example below, slices the first row and assigns -1 to the elements of the 1st row:
確定! 回上一頁