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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
outlier-0.2-py3-none-any.whl
(6.6 kB
view hashes)