第二引数は「indices_or_sections : int or 1-D array」で、2通りの使い方があることがわかります。配列も渡せるので試してみます。 >>> np.split(a, [2,8]) ...
確定! 回上一頁