@@ -0,0 +1,646 @@
+#!/usr/bin/env python%0A# encoding: utf-8%0A%0A%22%22%22%0A.. codeauthor:: Tsuyoshi Hombashi %3Cgogogo.vm@gmail.com%3E%0A%22%22%22%0A%0Afrom __future__ import print_function%0A%0Aimport pandas as pd%0Aimport pytablewriter%0Afrom StringIO import StringIO%0A%0A%0Acsv = StringIO(u%22%22%22%22i%22,%22f%22,%22c%22,%22if%22,%22ifc%22,%22bool%22,%22inf%22,%22nan%22,%22mix_num%22,%22time%22%0A1,1.10,%22aa%22,1.0,%221%22,True,Infinity,NaN,1,%222017-01-01 00:00:00+09:00%22%0A2,2.20,%22bbb%22,2.2,%222.2%22,False,Infinity,NaN,Infinity,%222017-01-02 03:04:05+09:00%22%0A3,3.33,%22cccc%22,-3.0,%22ccc%22,True,Infinity,NaN,NaN,%222017-01-01 00:00:00+09:00%22%0A%22%22%22)%0Adf = pd.read_csv(csv, sep=',')%0A%0Awriter = pytablewriter.MarkdownTableWriter()%0Awriter.set_dataframe(df)%0Awriter.write_table()%0A

Add an example