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.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rumor_view-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 79dd0ea260a9db1cc2739b2194dd640aa43d26121fadb64347ecf2949b2ed8e7
MD5 031e386661f76ffc3efa7f981a2d5c5e
BLAKE2b-256 b871b3983da18f4fe0bdcb8f06c456e3e0bfaafba6de2d66c4028e48141073c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rumor_view-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83130d826a90623621bb3553785a85469252d4fc6e7e87a5c148629bbc30ada9
MD5 cef2b8d4863d4f60902db2f41547bc78
BLAKE2b-256 ed21d80ff1b8399ad187ce044b58fe24fd97481db09692ca9a12c56531797f0c

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