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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rumor_view-0.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rumor_view-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ee287ac21bae826a63b26f8cef6f425544ad76ba5e71a681508c7ebdcbd5d7c6
MD5 53531fbb4f1d2467fca6472ad33d3474
BLAKE2b-256 7f8fb04ba0670e986cf04f9027e86bd8038ee53daabe2f6ac0746f8b8ae87bb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rumor_view-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.13

File hashes

Hashes for rumor_view-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 90db9d3f85aa122e29cced23777d20bd3db35ba73c5166927e2812abbefcf14d
MD5 f06da6f5ce1216cb9aad5a42d3a22cea
BLAKE2b-256 9858a74d91cb3d8c802abf9c56c0819f6b93568350ed2a595bfc720e4ef0667f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 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