使用するライブラリ import pandas as pd (備考) 列指定の方法 df['a'] と指定すれば Series になる。 df[['a']] と指定すれば DataFrame になる···