2020-11-26から1日間の記事一覧

埼玉県のコロナを標準出力に出力

import sys import camelot import pandas as pd tables = camelot.read_pdf( "http://www.pref.saitama.lg.jp/a0001/news/page/2020/documents/021125-0902.pdf", pages="all", strip_text=" \n", ) dfs = [table.df.T.iloc[2:] for table in tables] df = …