このwhereは,条件式が成り立つものをとってきて,それ以外はNaNで埋める. 二つ目の引数は,このNaNになるところをそれで埋める. pandas.Series.where other : scalar, NDFrame, or callable Entries where cond is False are replaced with corresponding value from other. なので想像している置換とは異...