replacing na values of all columns with mode in python code example
Example: python fillna with mode
data['Native Country'] = data['Native Country'].fillna(data['Native Country'].mode()[0])
data['Native Country'] = data['Native Country'].fillna(data['Native Country'].mode()[0])