Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Filling or replacing the missing values with mode

# Replacing the missing values with 'mode'
    
df['Product_Category_3']=df['Product_Category_3'].fillna(df['Product_Category_3'].mode()[0])
 
PREVIOUS NEXT
Tagged: #Filling #replacing #missing #values #mode
ADD COMMENT
Topic
Name
1+5 =