In this article, we will discuss how to find an outlier using IQR method and box plot in 1-dimensional data. Outliers are data points that lie outside the overall pattern in a distribution. In Python, we can use percentile function in NumPy package to find Q1 and Q3. We can use indexing to find the exact outliers.
1 Comment
Sort: