import numpy as np # 配列の持つ属性 a = np.array([[1, 2, 3], [4, 5, 6]]) print(a.dtype) print(a.shape) print(a.ndim) print(a.size) print(a.flat) print(a.T) """ int64 (2, 3) 2 6 <numpy.flatiter object at 0x423b700> [[1 4] [2 5] [3 6]] """ # 生成関数 print(np.arange(3)) print(</numpy.flatiter>…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。