Skip to main content

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

Metadata

Release files for rumor-view 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rumor-view 0.0.4
File Size Uploaded
rumor_view-0.0.4.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rumor-view 0.0.4
File Interpreter ABI Platform
rumor_view-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / rumor_view-0.0.4.tar.gz

Download URL rumor_view-0.0.4.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ee287ac21bae826a63b26f8cef6f425544ad76ba5e71a681508c7ebdcbd5d7c6
BLAKE2b-256 checksum
How to use checksums
7f8fb04ba0670e986cf04f9027e86bd8038ee53daabe2f6ac0746f8b8ae87bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / rumor_view-0.0.4-py3-none-any.whl

Download URL rumor_view-0.0.4-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90db9d3f85aa122e29cced23777d20bd3db35ba73c5166927e2812abbefcf14d
BLAKE2b-256 checksum
How to use checksums
9858a74d91cb3d8c802abf9c56c0819f6b93568350ed2a595bfc720e4ef0667f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page