drop rows with the missing feature values code example Example: drop rows with any missing value df.dropna(axis=0, how='any', inplace=True)