{"provider_name":"Hatena Blog","width":"100%","blog_title":"ablog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20170508%2F1494259279\" title=\"Python \u3067 CSV \u306e\u5217\u306e\u5024\u306e\u578b\u3092\u985e\u63a8\u3059\u308b - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python"],"published":"2017-05-08 01:01:19","blog_url":"https://yohei-a.hatenablog.jp/","title":"Python \u3067 CSV \u306e\u5217\u306e\u5024\u306e\u578b\u3092\u985e\u63a8\u3059\u308b","description":"\u6e96\u5099 messytables \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ pip install messytables \u30c6\u30b9\u30c8\u30c7\u30fc\u30bf(test.csv)\u4f5c\u6210 aze,1,a,1 aze,2,b,2 aze,3,c,3 aze,4,d,4 aze,5,e,5 aze,6,f,6 aze,7,g,7 aze,8,h,8a aze,9,i,9 \u578b\u985e\u63a8\u30b9\u30af\u30ea\u30d7\u30c8(csv_col_type_guesser.py)\u4f5c\u6210 #!/usr/bin/env python # -*- coding: utf-8 -*- from messytables import CSVTableSet, type_guess fh = open('\u2026","author_url":"https://blog.hatena.ne.jp/yohei-a/","version":"1.0","height":"190","type":"rich","provider_url":"https://hatena.blog","author_name":"yohei-a","url":"https://yohei-a.hatenablog.jp/entry/20170508/1494259279"}