TakafuTips

NumPy

Pythonでテキストの読み書き (NumPy)

numpy.loadtxt テキストデータをnumpy arrayに読み込む 詳しい記述はソースサイトより よく使うオプション fname: file, string dtype: data-type, optional delimiter: string, optional numpy.savetxt numpy arrayをテキストデータに書き出す よく使うオプ…