Skip to main content

Outlier Removal Using InterQuartile Range

Project 2 : UCS633

Submitted By: Kunal Jindal 101703299


pypi: https://pypi.org/project/outlierRemoval-kjindal-101703299/


InterQuartile Range (IQR) Description

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.

Calculation of IQR

IQR = Q3 – Q1
MIN = Q1 - (1.5IQR)
MAX = Q3 + (1.5
IQR)

Installation

Use the package manager pip to install outlierRemoval-kjindal-101703299.

pip install outlierRemoval-kjindal-101703299

How to use this package:

outlierRemoval-kjindal-101703299 can be run as shown below:

In Command Prompt

>> outlierRemoval dataset.csv

Sample dataset

Marks Students
3 Student1
57 Student2
65 Student3
98 Student4
43 Student5
44 Student6
54 Student7
99 Student8
1 Student9

Output Dataset after Removal

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.

License

MIT

Release files for outlierRemoval-kjindal-101703299 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for outlierRemoval-kjindal-101703299 1.0.2
File Size Uploaded
outlierRemoval-kjindal-101703299-1.0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for outlierRemoval-kjindal-101703299 1.0.2
File Interpreter ABI Platform
outlierRemoval_kjindal_101703299-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / outlierRemoval-kjindal-101703299-1.0.2.tar.gz

Download URL outlierRemoval-kjindal-101703299-1.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
49fb2c039aad5b082861cca9229e4ce44dc478cf9b4a7e9fe091a36dc2bdbe77
BLAKE2b-256 checksum
How to use checksums
e0c6ad5e9ed48b471edc74e26cf709906b2dc65f76090672ba565688b2b5a7cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Release files / outlierRemoval_kjindal_101703299-1.0.2-py3-none-any.whl

Download URL outlierRemoval_kjindal_101703299-1.0.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ab6166eee1f444e40020580f3b584ad562b6275d4c1a26d668528608acbadc9
BLAKE2b-256 checksum
How to use checksums
0be399947a693debb455e959c89c6f211ae5e942fe6fa5d3a9cf1e5f3bbd87e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page