{"published":"2018-11-23 22:13:00","categories":["\u305d\u306e\u4ed6 - Python"],"blog_url":"https://baba-s.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","title":"\u3010Python\u3011CSV \u3092\u8aad\u307f\u8fbc\u3093\u3067\u307f\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9","description":"\u306f\u3058\u3081\u306b import csv with open('example.csv', 'r', encoding='utf-8_sig') as f: reader = csv.reader(f) next(reader) # \u30d8\u30c3\u30c0\u884c\u3092\u30b9\u30ad\u30c3\u30d7 for row in reader: print(row) # \u884c\u5168\u4f53\u3092\u8868\u793a print(row[0]) # \u5148\u982d\u306e\u5217\u3092\u8868\u793a","height":"190","type":"rich","author_name":"baba_s","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2018%2F11%2F23%2F221300\" title=\"\u3010Python\u3011CSV \u3092\u8aad\u307f\u8fbc\u3093\u3067\u307f\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20191212/20191212133009.png","author_url":"https://blog.hatena.ne.jp/baba_s/","url":"https://baba-s.hatenablog.com/entry/2018/11/23/221300","provider_name":"Hatena Blog","version":"1.0","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0"}