Skip to main content

Metric Visualisation

Project description

# MetricVis https://www.holistics.io/blog/how-amazon-measures/

## Installing ` pip install metric-vis `

## Quickstart

` python from MetricVis import plot_week_month_trend import pandas as pd monthly_df = pd.read_csv('demo_data/monthly_data.csv') monthly_df.index = pd.to_datetime(monthly_df.Day) weekly_df = pd.read_csv('demo_data/weekly_data.csv') weekly_df.index = pd.to_datetime(weekly_df.Day) plot_week_month_trend(weekly_df = weekly_df, monthly_df = monthly_df, col_name = "Metric", month_lookback = 11) ` <img alt=”Weekly/Monthly Trend” src=”images/weekly_monthly_trend.png”>

` python from MetricVis import plot_actual_forecast import pandas as pd forecast_df = pd.read_csv('demo_data/forecast_data.csv') forecast_df.index = pd.to_datetime(forecast_df.Day) plot_actual_forecast(df = forecast_df, actual_col = "Metric", forecast_col = "Forecast", lookback = 8) ` <img alt=”Actual vs Forecast” src=”images/actual_vs_forecast.png”>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

metric_vis-0.0.10-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file metric_vis-0.0.10-py2.py3-none-any.whl.

File metadata

  • Download URL: metric_vis-0.0.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for metric_vis-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 087e4adcc76e9625f19b88ceba95731edf0d560d62c484bb46051bdedb225d4e
MD5 a6a3caab9df7413be8e9e1fd80eff6a7
BLAKE2b-256 35254fba07d0153d08d8a07995fa96a0b0c7ddb6f8f5c7bffc0479260d039925

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