Pandas library has a really good function call .fillna() which can be used to fill null values
df = df.fillna(0)
I am using Datatable Library for my new assign