Skip to main content

Package to Visualize Relationships in Ease.

Project description

SmartVis

A PY Library that can visualize Data Frames in a smarter way.

Installation and About

pip install smartvis

This is a wrap around Plotly for accessing the relationship between dataframe columns. This package cuts the cost of manual entry to find the realtionship between columns.

Parameters in visualizeEverything function

visualizeEverything(df, iColumns, maxGraph, maxPermutations, permute)
  • df: DataFrame that needs to be passed, which needs to be visualized (Cleaned DF is preferred).
  • iColumns (Optional): Takes a list of column names which nees to be visualized specifically.
  • maxGraph (Optional): Takes an Integer, that plots maximum number of graphs, if set to one, will plot 1 graph.
  • maxPermutations (Optional): Takes an Integer, that plots maximum number of column combinations.
  • permute (Optional): Takes a bool, returns Permutation or Combination sorting. (Reference to know more)

Example Usage

Example Cleaned DataSet:

Name Age City
0 Alice 25 New York
1 Bob 30 San Francisco
2 Charlie 22 Chicago
  1. After Installing:

    pip install smartvis
    
  2. Import the package to the file:

    from smartvis import visualizeEverything
    

    or

    from smartvis import visualizeEverything as ve
    
  3. Code for Visualizing

    • Senario 1:

      from smartvis import visualizeEverything
      import pandas as pd
      df=pd.read_csv("cleanedDS.csv")
      visualizeEverything(df,maxGraph=2, maxPermutations=2)
      

      Plots a Scatter Plot of 2 Graphs:

      1. Name and Age
      2. Age and City
    • Senario 2:

      from smartvis import visualizeEverything as ev
      import pandas as pd
      df=pd.read_csv("cleanedDS.csv")
      ve(df,maxGraph=2, maxPermutations=2,premute=True)
      

      Plots a Scatter Plot of 2 Graphs:

      1. Name and Age
      2. Age and Name
    • Senario 3:

      from smartvis import visualizeEverything as ev
      import pandas as pd
      df=pd.read_csv("cleanedDS.csv")
      ve(df,maxGraph=1,premute=True)
      

      Plots a Scatter Plot of 1 Graph:

      1. Name and Age
    • Senario 4:

      from smartvis import visualizeEverything as ev
      import pandas as pd
      df=pd.read_csv("cleanedDS.csv")
      ve(df,iColumns=["Age","City"],maxGraph=2,maxPermutations=1)
      

      Plots a Scatter Plot of 1 Graph: (will only plot one graph as premute is false and it won't return more than 1 Graph for one Column)

      1. Name and Age
    • Senario 5:

      from smartvis import visualizeEverything as ev
      import pandas as pd
      df=pd.read_csv("cleanedDS.csv")
      ve(df, maxGraph=1, maxPermutations=3,premute=True)
      

      Plots a Scatter Plot of 3 Graph:

      1. Name and Age
      2. Age and Name
      3. City and Name

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

smartvis-0.0.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

smartvis-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file smartvis-0.0.1.tar.gz.

File metadata

  • Download URL: smartvis-0.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for smartvis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f3fe20c82f910168e4206497a4007b07fa7cb14cee479c201bb40fe3b26e103e
MD5 8bb4aeb44a38f19e51d8c37db25e0292
BLAKE2b-256 46841bc4b595d79f1086167c5c51fa83723b593650830fafa668e226974ea38e

See more details on using hashes here.

File details

Details for the file smartvis-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: smartvis-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for smartvis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 903da1420823d8b4dafed8f721906ce9ec8ed3e9a876a38b05b8114b3b972b9a
MD5 b2817b99e9f1ab6d92f556e9943ee8a6
BLAKE2b-256 ada0fb21f334fc6e7fa1b57851f017926ae122116f2970cd81913db22d255faf

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