Skip to main content

This package identifies outlier(s) for a given time-series dataset in simple steps. It supports day, week, month and quarter level time-series data.

Project description

Outlier Detection for Time-series Data

This package identifies outlier(s) for a given time-series dataset in simple steps. It supports day, week, month and quarter level time-series data.

DataFrame Arguments:

First column in the dataframe must be a date column ('YYYY-MM-DD') and the last column a count column.

Package Functions:

  • detect_outliers(df): Detect outliers in a time-series dataframe using seasonal trend decomposition when there is at least 2 years of data, otherwise we can use Interquartile Range (IQR) for smaller timeframe.
  • detect_outliers_today(df) Detect outliers for the current date in a time-series dataframe.
  • detect_outliers_latest(df): Detect latest outliers in a time-series dataframe.
  • find_outliers_iqr(df): Detect outliers in a time-series dataframe when there's less than 2 years of data.

Diagnostic Plots:

  • build_seasonal_plot(df): Build seasonal plot (additive or multiplicative) for a given dataframe.
  • build_iqr_plot(df): Build IQR plot for a given dataframe (for less than 2 years of data).
  • build_monthwise_plot(df): Build month-wise plot for a given dataframe.
  • build_decomposition_results(df): Get seasonal decomposition results for a given dataframe.
  • conduct_stationarity_check(df): Conduct stationarity check (trend only) for a feature (dataframe's count column).

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

pycatcher-0.0.20.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

pycatcher-0.0.20-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file pycatcher-0.0.20.tar.gz.

File metadata

  • Download URL: pycatcher-0.0.20.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.2.0

File hashes

Hashes for pycatcher-0.0.20.tar.gz
Algorithm Hash digest
SHA256 845d887ecbe4a92982ac0768557fdaa648a3cd063b903cc2ea9591be000d2c17
MD5 cee87db6dcce2f9a1c6b919467054dfe
BLAKE2b-256 6f73b84ea31633a9d61510e35e9b6d1f8b7b96a71ad057be81bf23cd2510f7ef

See more details on using hashes here.

File details

Details for the file pycatcher-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: pycatcher-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.2.0

File hashes

Hashes for pycatcher-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 45cecaf15829522ce8c83f1f6eeaaded4566056e170de6bbc3b8f65a99658614
MD5 6c8185be108a1451a3143dd3f277e7dd
BLAKE2b-256 67153d5ce8cc51e3937aa52f16be1e98e02d37f9b609a8366f1a40e7e613418d

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