using mode to fill in missing values 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])