2017-08-27 int型のSeriesにNaNを設定したい AI dtypeがintだとNaNを代入出来ない。astype("Int64")でInt64型に変換するとpd.NAをセットできる。 参考: stackoverflow.com