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.4.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.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: outlier_detection-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 996de5aad55ac0e886020e19d9df4ad9af2daaca74a8c84fce865f68d22b01bd
MD5 417429d48a5eef758479c4369ee3739f
BLAKE2b-256 6159ec76d13eedf053c684fd1ec0c0d8ee77f6a3daf08faf9dbe94dfe54a6478

See more details on using hashes here.

File details

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

File metadata

  • Download URL: outlier_detection-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7261ba20689ddafe26fafa239ef0dfa3154deb6d5bb47dc6e278dc5223e8d9e2
MD5 7d47d0f2f164a66901ad5f6f69cb6dc8
BLAKE2b-256 8b080603d8de12454b0ca6abf7d96778b60c4d7ad16ceb208886e6da46cee015

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