Skip to main content

Visualization of column value relationship

Project description

rumor_view

Python library to visualize categorical column values relationship.

Objective

Help explore data frame to find column values which has strong relationship. This module estimate P(x1=v1 | x2=v2), and consider significance based on "lift" := P(x1=v1 | x2=v2) / P(x1=v1).

There are two main functionalities;

  • show_columns
    • This method provides a map for your exploration. This visualize graph which node represents each column, and edge between nodes when correspondent columns have lift in some value pair of those columns.
  • show_relation
    • This method provides a detailed view for a pair of columns. With this you can see concrete values which has strong relationship

Installation

pip install rumor_view

Usage

Right now this module handles all the column as categorical. If you have numeric columns it is recommended to convert them as categorical values before inputing this module.

import rumor_view


view = rumor_view.RumorView(df)

view.show_columns() # this shows all the columns
view.show_columns(target_column="target") # this shows only 2 hops from target column

view.show_relations("target", "column") # this shows value relationships between input columns

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

rumor_view-0.0.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

rumor_view-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file rumor_view-0.0.3.tar.gz.

File metadata

  • Download URL: rumor_view-0.0.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for rumor_view-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ef9b8b73f191ecb4a67603577005abe5c51792926c491b7e513e81c21c93e867
MD5 c841bd30c179c86de178a0f489ff461f
BLAKE2b-256 b6af9cbb9680c73ecf9f0c23234283b366d770ba2a39368b35fe6e99c5733c8b

See more details on using hashes here.

File details

Details for the file rumor_view-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rumor_view-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for rumor_view-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 08bc76da71ca3e929ccddf0b1b3b26fb441a420bd1ad31319994f3ee87dbde2c
MD5 01af13953ad74f859c509c4505af3f88
BLAKE2b-256 ac1d2a1a51da7284dac8eb6e48056bae7d22f031b9ed9b3fbd1ebb9bda530963

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