Skip to main content

Detect outliers from pandas dataframe using various statistical tools

Project description

Outlier Detection

Detect outliers from pandas dataframe using various statistical tools

INSTALLATION AND USAGE

!pip install outlier-detection
from outlier_detection import detect_outliers_using_iqr
import pandas as pd

# Pandas Dataframe
data = pd.read_csv('titanic.csv')

# Detect outliers using IQR Method
# On overall data
detect_outliers_using_iqr(df, 'Fare')

# Based on factors data
detect_outliers_using_iqr(data, 'Fare', is_factor=True, factor='Sex')

Tutorial Data Credit: https://www.kaggle.com/c/titanic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outlier_detection-1.0.3.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outlier_detection-1.0.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file outlier_detection-1.0.3.tar.gz.

File metadata

  • Download URL: outlier_detection-1.0.3.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for outlier_detection-1.0.3.tar.gz
Algorithm Hash digest
SHA256 3a20e06729337bce5f49da647a6b1f8539018df16012661192670f86d0d41782
MD5 ab33db1301091735676f413d73b96a57
BLAKE2b-256 c527e062eb5716a8ecc555733e0b9deb56bd45131e831d9ddd1226ca40c2fa2a

See more details on using hashes here.

File details

Details for the file outlier_detection-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: outlier_detection-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for outlier_detection-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cdcb97ed60f55dc6b8b41f688cc747ea5a3e155a9d5ba88b8fd8695c840f48b3
MD5 a2beeb294acfe8598f2fe6fabad927d9
BLAKE2b-256 ce393cd73f26b58afdd9b389ad54ce4689f11faa4892c1751505430be4a9ab49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page