Observed since 20 Oct, 15:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A python package for removing outliers from a dataset using InterQuartile Range (IQR)
Project 2 : UCS633
Submitted By: Lovish Jindal 101703312
pypi: https://pypi.org/project/101703312_outlierRemoval/
Any set of data can be described by its five-number summary. These five numbers, which give you the information you need to find patterns and outliers, consist of:
The minimum or lowest value of the dataset.
The first quartile Q1, which represents a quarter of the way through the list of all data.
The median of the data set, which represents the midpoint of the whole list of data.
The third quartile Q3, which represents three-quarters of the way through the list of all data.
The maximum or highest value of the data set.
These five numbers tell a person more about their data than looking at the numbers all at once could, or at least make this much easier.
IQR = Q3 – Q1
MIN = Q1 - (1.5IQR)
MAX = Q3 + (1.5IQR)
Use the package manager pip to install 101703312_outlierRemoval.
pip install 101703312_outlierRemoval
101703312_outlierRemoval can be run as shown below:
>> outlierRemoval dataset.csv
| Marks | Students |
|---|---|
| 3 | Student1 |
| 57 | Student2 |
| 65 | Student3 |
| 98 | Student4 |
| 43 | Student5 |
| 44 | Student6 |
| 54 | Student7 |
| 99 | Student8 |
| 1 | Student9 |
| Marks | Students |
|---|---|
| 57 | Student2 |
| 65 | Student3 |
| 98 | Student4 |
| 43 | Student5 |
| 44 | Student6 |
| 54 | Student7 |
It is clearly visible that the rows containing Student1, Student8 and Student9 have been removed due to them being Outliers.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0 | 13 Feb 2020 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 15:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:724e9847f9882067d9f088e5c862d81354e73e5ed8072cb09d171cf02c78f3ad