fill nas with 0 in pandas code example Example: dataframe fillna with 0 df['column'] = df['column'].fillna(0)