2016-04-11から1日間の記事一覧
Pythonでcsvファイルを読み込む 下記のコードで読み込みます。 import csv import numpy as np csv_file_object = csv.reader(open('xxx.csv', 'rb')) # Load in the csv file header = csv_file_object.next() # Skip the fist line as it is a header data…
Pythonでcsvファイルを読み込む 下記のコードで読み込みます。 import csv import numpy as np csv_file_object = csv.reader(open('xxx.csv', 'rb')) # Load in the csv file header = csv_file_object.next() # Skip the fist line as it is a header data…