🧿 insight
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.
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
Release files for insight 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| insight-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / insight-1.0-py3-none-any.whl
| Download URL | insight-1.0-py3-none-any.whl |
|---|---|
| Size | 143.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6058fdf8d0701f7d6f7c3dd7b017a514eb8d0493929a3a6a62a22260b56cbb2
|
|
BLAKE2b-256 checksum How to use checksums |
94b733dadf77f630edf1c070c5807fc0dec31783cebeaea4633ba581c1ca0541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|