AutoViz and?Lux
One linear Auto Visualization Python Tool Kit
Hi everyone, I hope everything is good at your end. In one of my previous articles, we discussed how to create and share automated interactive visualization reports via sweetviz for EDA. This time we will use another package called AutoViz and Lux which will come in handy from time to time.
Let's get started.
1) AutoViz
It's very simple, I mean very very simple.
pip install autoviz
from autoviz.AutoViz_Class import AutoViz_Class
AV = AutoViz_Class()
df = AV.AutoViz("dataset_penguins.csv")
That’s it!
Look what we got out here…..
very very very easy isn’t it?
Next, we have LUX
2.) LUX
With Lux all we need to do is import the package…..
import lux
import pandas as pd
df = pd.read_csv("https://raw.githubusercontent.com/lux-org/lux-datasets/master/data/college.csv")
df
Now, whenever you print the dataset Lux will automatically display a set of visualizations with trends and patterns.
However, remember that Lux currently works with Jupiter notebook.
df.intent = ["AverageCost","SATAverage"]
df
from lux.vis.Vis import Vis
Vis(["Region=New England","MedianEarnings"],df)
from lux.vis.VisList import VisList
VisList(["Region=?","AverageCost"],df)
Here is the official pypi.org demo link https://mybinder.org/v2/gh/lux-org/lux-binder/master?urlpath=tree/demo/employee_demo.ipynb
Take a tour and see how useful it is.
That’s it for today. I hope you find this article useful?……….do browse my other articles i guarantee you will like them too. See you soon with another interesting topic.
Also available on Quora @ https://www.quora.com/profile/Bob-Rupak-Roy