In this video, we will review four different methods of dealing with missing values in python pandas using fillna().
Method 1 -- Simple fillna(), fills every NaN value with same constant/scalar value.
Method 2 -- fillna() using dictionary method, useful where you want to fill different value for different columns
Method 3 -- fillna() using another columns value
Method 4 -- fillna() using mean value of a column
コメント