https://github.com/synthesized-io/insight
🧿 Metrics & Monitoring of Datasets
https://github.com/synthesized-io/insight
data data-analysis data-science framework insights metrics monitoring python
Last synced: 3 days ago
JSON representation
🧿 Metrics & Monitoring of Datasets
- Host: GitHub
- URL: https://github.com/synthesized-io/insight
- Owner: synthesized-io
- License: bsd-3-clause
- Created: 2021-07-01T12:58:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-06-02T16:28:07.000Z (25 days ago)
- Last Synced: 2025-06-22T21:42:09.656Z (5 days ago)
- Topics: data, data-analysis, data-science, framework, insights, metrics, monitoring, python
- Language: Python
- Homepage:
- Size: 300 MB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 🧿 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.
## [](https://pypi.org/project/insight/) [](https://github.com/synthesized-io/insight/actions/workflows/code-ql.yml) [](https://github.com/synthesized-io/insight/actions/workflows/CI.yaml) [](https://sonarcloud.io/summary/new_code?id=synthesized-io_synthesized-insight) [](https://sonarcloud.io/summary/new_code?id=synthesized-io_synthesized-insight) [](https://results.pre-commit.ci/latest/github/synthesized-io/insight/master)
## Installation
```shell
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.```pycon
>>> 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.```pycon
>>> 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:
```bash
insight-migrations
```![]()