ablog

不器用で落着きのない技術者のメモ

2017-05-08から1日間の記事一覧

Presto についてメモ

Presto is an open-source software project to develop a database query engine using the standard Structured Query Language (SQL).Facebook commenced development efforts on Presto in 2012, and announced its release as open source for Apache H…

Python で CSV の列の値の型を類推する

準備 messytables をインストール $ pip install messytables テストデータ(test.csv)作成 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 型類推スクリプト(csv_col_type_guesser.py)作成 #!/usr/bin/env py…