Skip to main content

Outlier Removal Using InterQuartile Range

Project 2 : UCS633

Submitted By: Lokesh Arora 101703311


pypi: https://pypi.org/project/101703311_OUTLIERS/


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 101703311_OUTLIERS.

pip install 101703311_OUTLIERS

How to use this package:

101703311_OUTLIERS 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

Metadata

Release files for 101703311-OUTLIERS 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 101703311-OUTLIERS 1.0.2
File Size Uploaded
101703311_OUTLIERS-1.0.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for 101703311-OUTLIERS 1.0.2
File Interpreter ABI Platform
101703311_OUTLIERS-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / 101703311_OUTLIERS-1.0.2.tar.gz

Download URL 101703311_OUTLIERS-1.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d58334482ca8686973ca63ad541675e82df5ba18387bc92ea0cba8f93f170d9a
BLAKE2b-256 checksum
How to use checksums
98d74ab4b504bcf747b142d8cab6d9b92b6826fb10dcd8d851b56b25c90256e7
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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / 101703311_OUTLIERS-1.0.2-py3-none-any.whl

Download URL 101703311_OUTLIERS-1.0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2f24ed085f07ed13588304898ae265cab17adf10002a86e9f8738210e68cce2
BLAKE2b-256 checksum
How to use checksums
b0c3e3873a08ebcc4b813e0d77393e632076ef7deaa52c3b5bf7ad4b9bc7eafc
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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

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