Skip to main content

outlier

Project description

Usage

def remove_outlier(df, col, partitionby=None, kernel='both', n_std=2, eps=1e-5):
    """
    :param col: label column
    :param partitionby: remove outliers in each partition
    :param kernel: kernel options: ["std", "quartile", "both"]
    :type df: pandas.DataFrame
    :type col: str
    :type partitionby: list
    :type kernel: str
    :type n_std: int
    :type eps: float
    :return: pandas.DataFrame
    """

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-0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

outlier-0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file outlier-0.2.tar.gz.

File metadata

  • Download URL: outlier-0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for outlier-0.2.tar.gz
Algorithm Hash digest
SHA256 24b370b28d794c26d645d2ba47da724630f0e39eb7956417e83449e3024f5491
MD5 a3db77393315511161391088ece6b863
BLAKE2b-256 c5124c4f58c492e95da780eca4c26902109bbc2d7428d93c06bc4adb954260f0

See more details on using hashes here.

File details

Details for the file outlier-0.2-py3-none-any.whl.

File metadata

  • Download URL: outlier-0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for outlier-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 592237362e0d244745203a6cb4b56c77f1fdf80471c04a56e285ed571fd3c7e6
MD5 febe3de5a1771bcdc7a85fd99a0e8091
BLAKE2b-256 0610493a4e7727315dd920a0d55c604ed03e2c6832077edd5153ecb066ebc7a0

See more details on using hashes here.

Supported by

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