detect_outlier_iqr

def detect_outlier_iqr(csv_file: str, column_name: str)

Detect outliers in a specified column of a CSV file using the IQR method.

Arguments:

  • csv_file str - The path to the CSV file.
  • column_name str - The name of the column to detect outliers in.

Returns:

  • list - A list of row indices that correspond to the outliers.