Skip to main content

Detect outliers from pandas dataframe using various statistical tools

Project description

Outlier Detection

Downloads Generic badge Generic badge

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.5.tar.gz (1.9 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.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: outlier_detection-1.0.5.tar.gz
  • Upload date:
  • Size: 1.9 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.5.tar.gz
Algorithm Hash digest
SHA256 c1af508064ccd9ac9c57911e4d6f0ab576f70ca41fab63b722d54ded5fb4fc12
MD5 dcc73c2e35a0a8587acaa30cd5b2c461
BLAKE2b-256 b100b34d70523ae2051c6a068699ca5aea7ef8bc085ee16c20ec01fe680e62d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: outlier_detection-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd9cb549db0d8ef69b4f7b1b385b8e2a5a64444067edb884f571a627943a3cc
MD5 f9c1fc3db7975d74542fc29bccaa73f1
BLAKE2b-256 1dbb939262f7ea050b336a5acd49062499720b1d92f3868c1068408cacc5f36f

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