You can use slicing to get the last n elements of a Numpy array. Slice the array from the index of the nth last element to the end of the array.
確定! 回上一頁