Python, Programming, Data Science, Artificial Intelligence, Machine Learning.
print("\nData Types:") print(data_types) # Check for outliers numeric_columns = data.select_dtypes(include=['int64', 'float64']).columns for column in numeric_columns: q1 = data[column].quantile(0.25) q3 = data[column].quantile(0.75) iqr = q3 - q1 lower_bound = q1 - 1.5 * iqr upper_bound = q3 + 1.5