TakafuTips

2018-11-23から1日間の記事一覧

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

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