Null Values replace with Mode

filling all colums with mode for categorica,l data error, since i seee null values in my data.

It’s not recommended to apply fillna on entire data frame if you are filling it with a mode. Mode can be calculated on a series object. But you are calling mode() method on a data frame.