# Replacing the missing values with 'mode' df['Product_Category_3']=df['Product_Category_3'].fillna(df['Product_Category_3'].mode()[0])