Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

101703311-OUTLIERS

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

101703311-OUTLIERS

A python package for removing outliers from a dataset using InterQuartile Range (IQR)

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

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

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

Output Dataset after Removal

MarksStudents
57Student2
65Student3
98Student4
43Student5
44Student6
54Student7

It is clearly visible that the rows containing Student1, Student8 and Student9 have been removed due to them being Outliers.

License

MIT

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc