Skip to main content

Outlier row removal using inter quartile range

Project 2 : UCS633

Submitted By: Pritpal Singh Pruthi 101883058


pypi: https://pypi.org/project/topsis-ppruthi-101883058/


IQR Interquartile range Description

Any data can be described by its five-number summary. These five numbers,consist of (in ascending order):

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.

Calculation of acceptable data

IQR = Q3-Q1
lower=Q1-(1.5*IQR)
upper=Q3+(1.5*IQR)

The data values present in between the lower and upper are acceptable and the rest are outliers and hence being removed.

Installation

Use the package manager pip to install removal system.

pip install Outlier-removal-101883058

How to use this package:

Outlier-removal-101883058 can be run as done below:

In Command Prompt

>> outliers students.csv 

Sample dataset

Marks Students
3 S1
57 S2
65 S3
98 S4
43 S5
44 S6
54 S7
99 S8
1 S9

Output dataset after removal

Marks Students
57 S2
65 S3
98 S4
43 S5
44 S6
54 S7

It is clearly visible that the rows S1,S8 and S9 have been removed from the dataset.

License

MIT

Metadata

Release files for Outlier-removal-101883058 1.0.3

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

Source distribution (sdist)

Source distribution for Outlier-removal-101883058 1.0.3
File Size Uploaded Provenance Actions
Outlier-removal-101883058-1.0.3.tar.gz 3.2 kB Without provenance Details for Outlier-removal-101883058-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Outlier-removal-101883058 1.0.3
File Interpreter ABI Platform Actions
Outlier_removal_101883058-1.0.3-py3-none-any.whl Python 3 none any Details for Outlier_removal_101883058-1.0.3-py3-none-any.whl

Total release size: 8.4 kB

Release files / Outlier-removal-101883058-1.0.3.tar.gz

Download URL Outlier-removal-101883058-1.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fc9f4c99446d11c85b2bd8e6971dd8f3ce755f4af0b57334d0b8ff03e3c9a094
BLAKE2b-256 checksum
How to use checksums
4efbae6fac2b77efcdd35eb828c1cb50b7d429b1af03f5ddde902230665baec3
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.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Release files / Outlier_removal_101883058-1.0.3-py3-none-any.whl

Download URL Outlier_removal_101883058-1.0.3-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ef08ae668a2bd3150643b0d6e8334b7c9cb0c45a041d266e93230ad0c917202
BLAKE2b-256 checksum
How to use checksums
80fbf470b54f1c0eb28cf7b833af262ab15ec76417685d5c43cbb2b8706759ee
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.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Security for Outlier-removal-101883058 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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