Skip to main content

A python library for monitoring, comparing and extracting insights from data.

Project description

🧿 insight

GitHub top language GitHub PyPI - Downloads GitHub Repo stars

A python package to quickly understand, assess, and compare pandas Series/DataFrames.

The predominant functions in the package focus on easy-to-use metrics and intelligent plotting functions. The metrics can also be configured from YAML to allow for simple to configure benchmarking and assessment scripts.

PyPI CodeQL Status CI Status Coverage Code Smells pre-commit.ci status

Installation

pip install insight

Usage

Metrics

At the core of insight are the metrics classes which can be evaluated on one series, two series, one dataframe or two dataframes.

>>> import insight.metrics as m
>>> metric = m.EarthMoversDistance()
>>> metric(df['A'], df['B'])
0.14

Plotting

The package provides various plotting functions which allow you to easily explore any series, dataframe or multiple dataframes.

>>> import insight.plotting as p
>>> p.plot_dataset([df1, df2])

Migrations

insight populates the results to the Postgres database configured by environment variables. To run migrations against it, simply:

insight-migrations
distribution plots

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

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

insight-1.1rc0-py3-none-any.whl (145.1 kB view details)

Uploaded Python 3

File details

Details for the file insight-1.1rc0-py3-none-any.whl.

File metadata

  • Download URL: insight-1.1rc0-py3-none-any.whl
  • Upload date:
  • Size: 145.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for insight-1.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 70f83756ffa736083625a15e202cd7cbeffcadc1cf8504c8db1631c1f3dc1931
MD5 2e1683dd1a93b3eb177e9f3272e44cba
BLAKE2b-256 5eacae34b836aaa041d984559ce6a81615b9d2fa834331b90875ce29bda9ee55

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