cara mengganti nan dengan 0 di panda
df['product']=df['product'].fillna(0)
df['context']=df['context'].fillna(0)
df
Quaint Quetzal
df['product']=df['product'].fillna(0)
df['context']=df['context'].fillna(0)
df
df['DataFrame Column'] = df['DataFrame Column'].fillna(0)
df.replace(np.nan,0)
pandas.DataFrame.fillna(0)
data["Gender"].fillna("No Gender", inplace = True)
df.fillna('', inplace=True)