Skip to main content

Visualize the relation between a dependent variable and a predictor in a meaningful way

Project description

PyPI version Build Status Code cov

This library allows you to visually inspect the relation between a dependent variable (the target) and a predictor in a meaningful way. This library is particularly convenient when the target and/or the predictor are categorical, ie when it is difficult to compute a traditionnal correlation coefficient. And by the way, Tprojection stands for target projection.

Installation

pip install tprojection

Basic usage

from tprojection import Tprojection

tproj = Tprojection(df, "target", "predictor")
tproj.plot()

Advanced usage

You can find several examples depicting more advanced functionalities in examples/examples.ipynb

Documentation

Please find a light documentation [here](https://tprojection.readthedocs.io/en/latest/?)

Credits

This package was created with Cookiecutter and the cookiecutter-pypackage project template.

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

tprojection-0.2.4.tar.gz (211.4 kB view details)

Uploaded Source

File details

Details for the file tprojection-0.2.4.tar.gz.

File metadata

  • Download URL: tprojection-0.2.4.tar.gz
  • Upload date:
  • Size: 211.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for tprojection-0.2.4.tar.gz
Algorithm Hash digest
SHA256 99b1d21dd15acd3e21caff63b310a084be4d19b6595ffd5cb15e121ec839e9fd
MD5 689863cf1ea90ecdd057821a21962f9b
BLAKE2b-256 16e7339bc87a149962820ddd7362005248543d22a71f2813c56f3a638539da6f

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