Pandas Fillna Mode

后端 未结 6 1359
借酒劲吻你
借酒劲吻你 2021-02-05 12:13

I have a data set in which there is a column known as Native Country which contain around 30000 records. Some are missing represented by NaN so I thoug

6条回答
  •  忘掉有多难
    2021-02-05 12:23

    Be careful, NaN may be the mode of your dataframe: in this case, you are replacing NaN with another NaN.

提交回复
热议问题