How to replace null values in a Pandas dataframe?

We can use DataFrame.fillna() method to replace null values with any value of choice.

Example