AutoViz and?Lux

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…..

autoviz plots
autoviz boxplots | histogram | quantile plots
autoviz plots bar plots
autoviz violen plots
autoviz heatmap
autoviz bar plots for categorical variables

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.

import lux
df.intent = ["AverageCost","SATAverage"]
df
        
LUX results
from lux.vis.Vis import Vis
Vis(["Region=New England","MedianEarnings"],df)
        
from lux.vis.Vis import Vis | LUX results
from lux.vis.VisList import VisList
VisList(["Region=?","AverageCost"],df)
        
from lux.vis.VisList import VisList

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.

Some of my alternative internet presences Facebook, Instagram, Udemy, Blogger, Issuu, and more.

No alt text provided for this image

Also available on Quora @ https://www.quora.com/profile/Bob-Rupak-Roy

No alt text provided for this image


要查看或添加评论,请登录

Rupak Roy的更多文章

社区洞察

其他会员也浏览了