Which code snippet correctly removes outliers from the 'BMI' column in a dataset using the IQR method?
Q1 = df['BMI'].quantile(0.25)Q3 = df['BMI'].quantile(0.75)IQR = Q3 - Q1lower_bound = Q1 - 1.5 * IQRupper_bound = Q3 + 1.5 * IQRdf = df[(df['BMI'] >= lower_bound) & (df['BMI'] <= upper_bound)]
Q1 = df['BMI'].mean() - 1.5 * df['BMI'].std()Q3 = df['BMI'].mean() + 1.5 * df['BMI'].std()df = df[(df['BMI'] >= Q1) & (df['BMI'] <= Q3)]