Package to Visualize Columns Relationships in Ease.
Project description
SmartVis
A PY Library that can visualize Data Frames Columns in a Ease.
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 |
-
After Installing:
pip install smartvis -
Import the package to the file:
from smartvis import visualizeEverythingor
from smartvis import visualizeEverything as ve -
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:
- Name and Age
- 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)Will get an error, Both maxGraph and maxPermutations can't be not None if permute is True
-
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:
- 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)
- Name and Age
-
Senario 5:
from smartvis import visualizeEverything as ev import pandas as pd df=pd.read_csv("cleanedDS.csv") ve(df, maxPermutations=3,premute=True)Will show an error as permute can't be True when maxPermutations is not None
-
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartvis-0.0.2.tar.gz.
File metadata
- Download URL: smartvis-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81ddc2ddbb666868adb3f6e4d5d9068985f0e7e5c8dfa140516e21ac82cd38c3
|
|
| MD5 |
4bf5bd5609d64f10644e7e57af40bd04
|
|
| BLAKE2b-256 |
4b2a8ada92fc4e5709b78f97f356549d8f00f0d289ea2b519531cc5b5976017a
|
File details
Details for the file smartvis-0.0.2-py3-none-any.whl.
File metadata
- Download URL: smartvis-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d985ee0d339f42dfd9dd5d9cb723282532928a568a13905879d51c96dda8ddd9
|
|
| MD5 |
d08acc4a9e916f02d64cc493f3edec17
|
|
| BLAKE2b-256 |
9b7ac6b22e6a58d1afa641662aaaaf7e267c2bc2d608ccd342f20d5d2dcc2d73
|